Hi Jeff, FYI, the error/warning still remains. tree: https://github.com/ceph/ceph-client.git testing head: ef883d717fa18e5f001885997bdf9639b1bc0533 commit: 25d69016a29a8699fb30c29ad36c5545c04c7d24 [40/42] ceph: turn ceph_security_invalidate_secctx into static inline config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 25d69016a29a8699fb30c29ad36c5545c04c7d24 # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=sparc64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All error/warnings (new ones prefixed by >>): In file included from fs/ceph/super.c:19:0: fs/ceph/super.h: In function 'ceph_security_invalidate_secctx': >> fs/ceph/super.h:976:2: error: implicit declaration of function 'security_inode_invalidate_secctx'; did you mean 'ceph_security_invalidate_secctx'? [-Werror=implicit-function-declaration] security_inode_invalidate_secctx(inode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ceph_security_invalidate_secctx cc1: some warnings being treated as errors -- In file included from fs/ceph/xattr.c:5:0: fs/ceph/super.h: In function 'ceph_security_invalidate_secctx': >> fs/ceph/super.h:976:2: error: implicit declaration of function 'security_inode_invalidate_secctx'; did you mean 'ceph_security_invalidate_secctx'? [-Werror=implicit-function-declaration] security_inode_invalidate_secctx(inode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ceph_security_invalidate_secctx In file included from fs/ceph/xattr.c:11:0: include/linux/security.h: At top level: >> include/linux/security.h:391:6: warning: conflicting types for 'security_inode_invalidate_secctx' void security_inode_invalidate_secctx(struct inode *inode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fs/ceph/xattr.c:5:0: fs/ceph/super.h:976:2: note: previous implicit declaration of 'security_inode_invalidate_secctx' was here security_inode_invalidate_secctx(inode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +976 fs/ceph/super.h 970 971 #ifdef CONFIG_CEPH_FS_SECURITY_LABEL 972 extern int ceph_security_init_secctx(struct dentry *dentry, umode_t mode, 973 struct ceph_acl_sec_ctx *ctx); 974 static inline void ceph_security_invalidate_secctx(struct inode *inode) 975 { > 976 security_inode_invalidate_secctx(inode); 977 } 978 #else 979 static inline int ceph_security_init_secctx(struct dentry *dentry, umode_t mode, 980 struct ceph_acl_sec_ctx *ctx) 981 { 982 return 0; 983 } 984 static inline void ceph_security_invalidate_secctx(struct inode *inode) 985 { 986 } 987 #endif 988 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip