tree: https://github.com/ammarfaizi2/linux-block brauner/linux/fs.acl.rework head: baac47dc33766dfb02917cba69b698f1a9fd1f84 commit: 788c4cf7d28228acf9be6fd156ee91574a22882d [24/30] xattr: use posix acl api config: arm-mv78xx0_defconfig compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/ammarfaizi2/linux-block/commit/788c4cf7d28228acf9be6fd156ee91574a22882d git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block brauner/linux/fs.acl.rework git checkout 788c4cf7d28228acf9be6fd156ee91574a22882d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from block/bdev.c:30: >> block/../fs/internal.h:243:5: warning: no previous prototype for function 'do_set_acl' [-Wmissing-prototypes] int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ block/../fs/internal.h:243:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ static >> block/../fs/internal.h:248:9: warning: no previous prototype for function 'do_get_acl' [-Wmissing-prototypes] ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ block/../fs/internal.h:248:1: note: declare 'static' if the function is not intended to be used outside of this translation unit ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ static 2 warnings generated. -- In file included from fs/iomap/buffered-io.c:22: >> fs/iomap/../internal.h:243:5: warning: no previous prototype for function 'do_set_acl' [-Wmissing-prototypes] int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ fs/iomap/../internal.h:243:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ static >> fs/iomap/../internal.h:248:9: warning: no previous prototype for function 'do_get_acl' [-Wmissing-prototypes] ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ fs/iomap/../internal.h:248:1: note: declare 'static' if the function is not intended to be used outside of this translation unit ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry, ^ static 2 warnings generated. vim +/do_set_acl +243 block/../fs/internal.h 236 237 #ifdef CONFIG_FS_POSIX_ACL 238 int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, 239 const char *acl_name, const void *kvalue, size_t size); 240 ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry, 241 const char *acl_name, void *kvalue, size_t size); 242 #else > 243 int do_set_acl(struct user_namespace *mnt_userns, struct dentry *dentry, 244 const char *acl_name, const void *kvalue, size_t size) 245 { 246 return -EOPNOTSUPP; 247 } > 248 ssize_t do_get_acl(struct user_namespace *mnt_userns, struct dentry *dentry, 249 const char *acl_name, void *kvalue, size_t size) 250 { 251 return -EOPNOTSUPP; 252 } 253 #endif 254 -- 0-DAY CI Kernel Test Service https://01.org/lkp