All of lore.kernel.org
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/bits-per-long-check 5/6] include/asm-generic/bitsperlong.h:16:2: sparse: sparse: Inconsistent word size. Check asm/bitsperlong.h
@ 2026-01-16  0:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-01-16  0:57 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: include/asm-generic/bitsperlong.h:16:2: sparse: sparse: Inconsistent word size. Check asm/bitsperlong.h"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/bits-per-long-check
head:   5f5f4e8866517fab6df5dd9e5371657b2cfd5263
commit: 5a087ccf80596cebd4b934d454f222fb4b9df632 [5/6] BUILD_VDSO
:::::: branch date: 14 hours ago
:::::: commit date: 15 hours ago
config: sparc64-randconfig-r111-20260116 (https://download.01.org/0day-ci/archive/20260116/202601160814.ChBOth9e-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260116/202601160814.ChBOth9e-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/r/202601160814.ChBOth9e-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   arch/sparc/vdso/vdso32/vclock_gettime.c: note: in included file (through arch/sparc/include/uapi/asm/bitsperlong.h, include/uapi/asm-generic/int-ll64.h, ...):
>> include/asm-generic/bitsperlong.h:16:2: sparse: sparse: Inconsistent word size. Check asm/bitsperlong.h
   arch/sparc/vdso/vdso32/vclock_gettime.c: note: in included file (through arch/sparc/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/lock.h, ...):
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:37:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:38:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:53:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:53:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:53:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:53:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:54:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:54:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:54:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:54:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:55:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:55:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:55:1: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:55:1: sparse: sparse: got *
   arch/sparc/include/asm/atomic_64.h:70:46: sparse: sparse: Expected ) in function declarator
   arch/sparc/include/asm/atomic_64.h:70:46: sparse: sparse: got *
   arch/sparc/vdso/vdso32/vclock_gettime.c: note: in included file (through include/linux/atomic.h, include/asm-generic/bitops/lock.h, arch/sparc/include/asm/bitops_64.h, ...):
   include/linux/atomic/atomic-arch-fallback.h:2581:36: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2581:36: sparse: sparse: got *
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: got !
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: Expected ) in nested declarator
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: got volatile
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: Trying to use reserved word 'const' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2583:16: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2584:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2584:1: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2604:13: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2604:13: sparse: sparse: got (
   include/linux/atomic/atomic-arch-fallback.h:2604:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: got !
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Expected ) in nested declarator
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: got volatile
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Trying to use reserved word 'const' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: got *
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Trying to use reserved word 'typeof' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2605:23: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2606:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2606:9: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2609:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2609:9: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2613:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2613:1: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: got !
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Trying to use reserved word 'do' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Expected ; at end of declaration
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: got {
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2629:9: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2630:1: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2630:1: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Trying to use reserved word 'do' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ; at end of declaration
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got {
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ) in function declarator
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got !
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Trying to use reserved word 'if' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Trying to use reserved word 'do' as identifier
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ; at end of declaration
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got {
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2650:17: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2651:9: sparse: sparse: Expected ; at the end of type declaration
   include/linux/atomic/atomic-arch-fallback.h:2651:9: sparse: sparse: got }
   include/linux/atomic/atomic-arch-fallback.h:2654:9: sparse: sparse: Expected ; at the end of type declaration

vim +16 include/asm-generic/bitsperlong.h

c31ae4bb4a9fa4 Arnd Bergmann    2009-05-13  13  
5a087ccf80596c Thomas Weißschuh 2026-01-14  14  #ifndef BUILD_VDSO
5a087ccf80596c Thomas Weißschuh 2026-01-14  15  #if BITS_PER_LONG != __BITS_PER_LONG
c31ae4bb4a9fa4 Arnd Bergmann    2009-05-13 @16  #error Inconsistent word size. Check asm/bitsperlong.h
c31ae4bb4a9fa4 Arnd Bergmann    2009-05-13  17  #endif
5a087ccf80596c Thomas Weißschuh 2026-01-14  18  #endif
c31ae4bb4a9fa4 Arnd Bergmann    2009-05-13  19  

:::::: The code at line 16 was first introduced by commit
:::::: c31ae4bb4a9fa4606a74c0a4fb61b74f804e861e asm-generic: introduce asm/bitsperlong.h

:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Arnd Bergmann <arnd@klappe2.(none)>

-- 
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:[~2026-01-16  0:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16  0:57 [thomas-weissschuh:b4/bits-per-long-check 5/6] include/asm-generic/bitsperlong.h:16:2: sparse: sparse: Inconsistent word size. Check asm/bitsperlong.h kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.