From: kernel test robot <lkp@intel.com>
To: Christian Brauner <brauner@kernel.org>
Cc: kbuild-all@lists.01.org, Ammar Faizi <ammarfaizi2@gnuweeb.org>,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org
Subject: [ammarfaizi2-block:brauner/linux/fs.acl.rework 14/37] include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void'
Date: Fri, 23 Sep 2022 14:46:17 +0800 [thread overview]
Message-ID: <202209231457.7v2os2VI-lkp@intel.com> (raw)
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
reply other threads:[~2022-09-23 6:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202209231457.7v2os2VI-lkp@intel.com \
--to=lkp@intel.com \
--cc=ammarfaizi2@gnuweeb.org \
--cc=brauner@kernel.org \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox