From: kernel test robot <lkp@intel.com>
To: Christian Brauner <brauner@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Christian Brauner <christianvanbrauner@gmail.com>
Subject: [brauner-vfs:work.fcntl 2/3] fs/smb/server/smb_common.h:46:9: warning: 'F_CREATED' macro redefined
Date: Thu, 25 Jul 2024 00:05:55 +0800 [thread overview]
Message-ID: <202407242308.vYILkXH2-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git work.fcntl
head: 58956814948ce62e0573fd2eee77578251a09996
commit: 261896aabb381781033d868e9ad9f6a38d90f1b2 [2/3] fcntl: add F_CREATED
config: i386-buildonly-randconfig-004-20240724 (https://download.01.org/0day-ci/archive/20240724/202407242308.vYILkXH2-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240724/202407242308.vYILkXH2-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/202407242308.vYILkXH2-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/smb/server/smb2misc.c:9:
>> fs/smb/server/smb_common.h:46:9: warning: 'F_CREATED' macro redefined [-Wmacro-redefined]
46 | #define F_CREATED 2
| ^
include/uapi/linux/fcntl.h:20:9: note: previous definition is here
20 | #define F_CREATED (F_LINUX_SPECIFIC_BASE + 4)
| ^
1 warning generated.
--
In file included from fs/smb/server/mgmt/share_config.c:17:
In file included from fs/smb/server/mgmt/user_session.h:12:
>> fs/smb/server/mgmt/../smb_common.h:46:9: warning: 'F_CREATED' macro redefined [-Wmacro-redefined]
46 | #define F_CREATED 2
| ^
include/uapi/linux/fcntl.h:20:9: note: previous definition is here
20 | #define F_CREATED (F_LINUX_SPECIFIC_BASE + 4)
| ^
1 warning generated.
vim +/F_CREATED +46 fs/smb/server/smb_common.h
363999901116ff fs/ksmbd/smb_common.h Namjae Jeon 2021-09-24 42
e2f34481b24db2 fs/cifsd/smb_common.h Namjae Jeon 2021-03-16 43 /* Responses when opening a file. */
e2f34481b24db2 fs/cifsd/smb_common.h Namjae Jeon 2021-03-16 44 #define F_SUPERSEDED 0
e2f34481b24db2 fs/cifsd/smb_common.h Namjae Jeon 2021-03-16 45 #define F_OPENED 1
e2f34481b24db2 fs/cifsd/smb_common.h Namjae Jeon 2021-03-16 @46 #define F_CREATED 2
e2f34481b24db2 fs/cifsd/smb_common.h Namjae Jeon 2021-03-16 47 #define F_OVERWRITTEN 3
e2f34481b24db2 fs/cifsd/smb_common.h Namjae Jeon 2021-03-16 48
:::::: The code at line 46 was first introduced by commit
:::::: e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 cifsd: add server-side procedures for SMB3
:::::: TO: Namjae Jeon <namjae.jeon@samsung.com>
:::::: CC: Steve French <stfrench@microsoft.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-07-24 16:06 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=202407242308.vYILkXH2-lkp@intel.com \
--to=lkp@intel.com \
--cc=brauner@kernel.org \
--cc=christianvanbrauner@gmail.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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