* [akpm-mm:mm-nonmm-unstable 22/23] include/linux/stddef.h:8:14: error: invalid initializer
@ 2024-01-15 18:15 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-15 18:15 UTC (permalink / raw)
To: Yury Norov; +Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head: 3d69c575710800c9a4a58e94c157697310e32027
commit: 526a17b65d5160a9ef956fb716172bd307109ff8 [22/23] lib/group_cpus: fix initialization section in group_cpus_evenly()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20240116/202401160231.mSAgDn9b-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240116/202401160231.mSAgDn9b-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/202401160231.mSAgDn9b-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/x86/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:251,
from include/linux/array_size.h:5,
from include/linux/kernel.h:16,
from lib/group_cpus.c:6:
lib/group_cpus.c: In function 'group_cpus_evenly':
>> include/linux/stddef.h:8:14: error: invalid initializer
8 | #define NULL ((void *)0)
| ^
lib/group_cpus.c:352:59: note: in expansion of macro 'NULL'
352 | cpumask_var_t npresmsk __free(free_cpumask_var) = NULL;
| ^~~~
vim +8 include/linux/stddef.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 6
^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL
^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
6e218287432472 Richard Knutsson 2006-09-30 9
:::::: The code at line 8 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
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:[~2024-01-15 18:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 18:15 [akpm-mm:mm-nonmm-unstable 22/23] include/linux/stddef.h:8:14: error: invalid initializer 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