* [brauner-vfs:work.fcntl 2/3] fs/smb/server/smb_common.h:46:9: warning: 'F_CREATED' macro redefined
@ 2024-07-24 16:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-24 16:05 UTC (permalink / raw)
To: Christian Brauner; +Cc: llvm, oe-kbuild-all, Christian Brauner
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-24 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24 16:05 [brauner-vfs:work.fcntl 2/3] fs/smb/server/smb_common.h:46:9: warning: 'F_CREATED' macro redefined 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