linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vfs-idmapping:fs.posix_acl.vfsuid 15/37] include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void'
@ 2022-09-09 20:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-09 20:54 UTC (permalink / raw)
  To: Christian Brauner; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git fs.posix_acl.vfsuid
head:   d37e11d9b40fc35810217121aa3205b7975fd4c6
commit: c45bf675834bb2d099f0a8375cadeb30f4d915e5 [15/37] 9p: add ->get_dentry_acl() method
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220910/202209100459.46yB9DOr-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git/commit/?id=c45bf675834bb2d099f0a8375cadeb30f4d915e5
        git remote add vfs-idmapping https://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git
        git fetch --no-tags vfs-idmapping fs.posix_acl.vfsuid
        git checkout c45bf675834bb2d099f0a8375cadeb30f4d915e5
        # 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:33: note: in expansion of macro 'NULL'
      23 | #define v9fs_iop_get_dentry_acl NULL
         |                                 ^~~~
   fs/9p/acl.h:29:1: note: in expansion of macro 'v9fs_iop_get_dentry_acl'
      29 | v9fs_iop_get_dentry_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:33: note: in expansion of macro 'NULL'
      23 | #define v9fs_iop_get_dentry_acl NULL
         |                                 ^~~~
   fs/9p/acl.h:29:1: note: in expansion of macro 'v9fs_iop_get_dentry_acl'
      29 | v9fs_iop_get_dentry_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

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

only message in thread, other threads:[~2022-09-09 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 20:54 [vfs-idmapping:fs.posix_acl.vfsuid 15/37] include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void' 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).