llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [trace:unwind/perf 7/25] include/linux/unwind_deferred_types.h:16:2: error: unknown type name 'local64_t'; did you mean 'local_t'?
@ 2025-07-03 22:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-03 22:26 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace unwind/perf
head:   e00f51618c68b5b6fd6054488212504592c9e392
commit: a9bb466c2613f39f468e7ac392dd2e2b611a0544 [7/25] unwind_user/deferred: Make unwind deferral requests NMI-safe
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20250704/202507040623.6dwWd1ej-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250704/202507040623.6dwWd1ej-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507040623.6dwWd1ej-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:10:
   In file included from include/linux/u64_stats_sync.h:71:
   In file included from ./arch/x86/include/generated/asm/local64.h:1:
   In file included from include/asm-generic/local64.h:5:
   In file included from include/linux/percpu.h:12:
   In file included from include/linux/sched.h:49:
>> include/linux/unwind_deferred_types.h:16:2: error: unknown type name 'local64_t'; did you mean 'local_t'?
      16 |         local64_t               timestamp;
         |         ^~~~~~~~~
         |         local_t
   arch/x86/include/asm/local.h:12:3: note: 'local_t' declared here
      12 | } local_t;
         |   ^
   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:11:
   In file included from include/linux/if_vlan.h:10:
   In file included from include/linux/netdevice.h:38:
   In file included from include/net/net_namespace.h:43:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:5:
   In file included from include/linux/fs.h:34:
   In file included from include/linux/percpu-rwsem.h:7:
   In file included from include/linux/rcuwait.h:6:
   In file included from include/linux/sched/signal.h:6:
   include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
      98 |                 return (set->sig[3] | set->sig[2] |
         |                         ^        ~
   arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
      24 |         unsigned long sig[_NSIG_WORDS];
         |         ^
   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:11:
   In file included from include/linux/if_vlan.h:10:
   In file included from include/linux/netdevice.h:38:
   In file included from include/net/net_namespace.h:43:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:5:
   In file included from include/linux/fs.h:34:
   In file included from include/linux/percpu-rwsem.h:7:
   In file included from include/linux/rcuwait.h:6:
   In file included from include/linux/sched/signal.h:6:
   include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
      98 |                 return (set->sig[3] | set->sig[2] |
         |                                       ^        ~
   arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
      24 |         unsigned long sig[_NSIG_WORDS];
         |         ^
   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:11:
   In file included from include/linux/if_vlan.h:10:
   In file included from include/linux/netdevice.h:38:
   In file included from include/net/net_namespace.h:43:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:5:
   In file included from include/linux/fs.h:34:
   In file included from include/linux/percpu-rwsem.h:7:
   In file included from include/linux/rcuwait.h:6:
   In file included from include/linux/sched/signal.h:6:
   include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
      99 |                         set->sig[1] | set->sig[0]) == 0;
         |                         ^        ~
   arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
      24 |         unsigned long sig[_NSIG_WORDS];
         |         ^
   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:11:
   In file included from include/linux/if_vlan.h:10:
   In file included from include/linux/netdevice.h:38:
   In file included from include/net/net_namespace.h:43:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:5:
   In file included from include/linux/fs.h:34:
   In file included from include/linux/percpu-rwsem.h:7:
   In file included from include/linux/rcuwait.h:6:
   In file included from include/linux/sched/signal.h:6:
   include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds]
     101 |                 return (set->sig[1] | set->sig[0]) == 0;
         |                         ^        ~
   arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
      24 |         unsigned long sig[_NSIG_WORDS];
         |         ^
   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:11:
   In file included from include/linux/if_vlan.h:10:
   In file included from include/linux/netdevice.h:38:
   In file included from include/net/net_namespace.h:43:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:5:
   In file included from include/linux/fs.h:34:
   In file included from include/linux/percpu-rwsem.h:7:
   In file included from include/linux/rcuwait.h:6:
   In file included from include/linux/sched/signal.h:6:
   include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds]
     114 |                 return  (set1->sig[3] == set2->sig[3]) &&
         |                          ^         ~
   arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here
      24 |         unsigned long sig[_NSIG_WORDS];
         |         ^
   In file included from drivers/net/netdevsim/macsec.c:3:
   In file included from include/net/macsec.h:11:
   In file included from include/linux/if_vlan.h:10:
   In file included from include/linux/netdevice.h:38:


vim +16 include/linux/unwind_deferred_types.h

    12	
    13	struct unwind_task_info {
    14		struct unwind_cache	*cache;
    15		struct callback_head	work;
  > 16		local64_t		timestamp;
    17		local_t			pending;
    18	};
    19	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-03 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03 22:26 [trace:unwind/perf 7/25] include/linux/unwind_deferred_types.h:16:2: error: unknown type name 'local64_t'; did you mean 'local_t'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).