* [brauner-vfs:work.fcntl 2/3] fs/smb/server/smb_common.h:46:9: warning: "F_CREATED" redefined
@ 2024-07-24 20:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-24 20:58 UTC (permalink / raw)
To: Christian Brauner; +Cc: 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: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20240725/202407250401.WHuqB3Kt-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240725/202407250401.WHuqB3Kt-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/202407250401.WHuqB3Kt-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/smb/server/unicode.c:14:
>> fs/smb/server/smb_common.h:46:9: warning: "F_CREATED" redefined
46 | #define F_CREATED 2
| ^~~~~~~~~
In file included from include/linux/fcntl.h:6,
from include/linux/fs.h:26,
from fs/smb/server/unicode.c:9:
include/uapi/linux/fcntl.h:20:9: note: this is the location of the previous definition
20 | #define F_CREATED (F_LINUX_SPECIFIC_BASE + 4)
| ^~~~~~~~~
--
In file included from fs/smb/server/mgmt/user_session.h:12,
from fs/smb/server/mgmt/share_config.c:17:
>> fs/smb/server/mgmt/../smb_common.h:46:9: warning: "F_CREATED" redefined
46 | #define F_CREATED 2
| ^~~~~~~~~
In file included from include/linux/fcntl.h:6,
from include/linux/fs.h:26,
from include/linux/namei.h:5,
from fs/smb/server/mgmt/share_config.c:11:
include/uapi/linux/fcntl.h:20:9: note: this is the location of the previous definition
20 | #define F_CREATED (F_LINUX_SPECIFIC_BASE + 4)
| ^~~~~~~~~
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 20:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24 20:58 [brauner-vfs:work.fcntl 2/3] fs/smb/server/smb_common.h:46:9: warning: "F_CREATED" redefined kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.