GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [ammarfaizi2-block:brauner/linux/fs.acl.rework 14/37] include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void'
@ 2022-09-23  6:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-23  6:46 UTC (permalink / raw)
  To: Christian Brauner
  Cc: kbuild-all, Ammar Faizi, GNU/Weeb Mailing List, linux-kernel

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/[email protected]/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 <[email protected]>

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 <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

-- 
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-23  6:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23  6:46 [ammarfaizi2-block:brauner/linux/fs.acl.rework 14/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