Messages in this thread | | | Date | Fri, 23 Sep 2022 14:46:17 +0800 | From | kernel test robot <> | Subject | [ammarfaizi2-block:brauner/linux/fs.acl.rework 14/37] include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void' |
| |
tree: https://github.com/ammarfaizi2/linux-block brauner/linux/fs.acl.rework head: 6d56d354d97c08df55b4c06e1f45903f000b7c7c commit: 0e0086267b0b7a344703522106b34069ca5e9aad [14/37] 9p: implement get acl method config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220923/202209231457.7v2os2VI-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/0e0086267b0b7a344703522106b34069ca5e9aad git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block brauner/linux/fs.acl.rework git checkout 0e0086267b0b7a344703522106b34069ca5e9aad # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <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/limits.h:6, from include/linux/kernel.h:16, from fs/9p/vfs_super.c:8: >> include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void' 8 | #define NULL ((void *)0) | ^~~~ fs/9p/acl.h:23:26: note: in expansion of macro 'NULL' 23 | #define v9fs_iop_get_acl NULL | ^~~~ fs/9p/acl.h:29:1: note: in expansion of macro 'v9fs_iop_get_acl' 29 | v9fs_iop_get_acl(struct user_namespace *mnt_userns, | ^~~~~~~~~~~~~~~~ >> include/linux/stddef.h:8:23: error: expected ')' before numeric constant 8 | #define NULL ((void *)0) | ^ fs/9p/acl.h:23:26: note: in expansion of macro 'NULL' 23 | #define v9fs_iop_get_acl NULL | ^~~~ fs/9p/acl.h:29:1: note: in expansion of macro 'v9fs_iop_get_acl' 29 | v9fs_iop_get_acl(struct user_namespace *mnt_userns, | ^~~~~~~~~~~~~~~~
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://01.org/lkp
| |