[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210010242.mEslGjtE-lkp@intel.com>
Date: Sat, 1 Oct 2022 02:28:45 +0800
From: kernel test robot <lkp@...el.com>
To: Christian Brauner <brauner@...nel.org>
Cc: kbuild-all@...ts.01.org, Ammar Faizi <ammarfaizi2@...weeb.org>,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:brauner/linux/fs.acl.rework 20/38]
include/linux/ima.h:232:15: error: return type defaults to 'int'
tree: https://github.com/ammarfaizi2/linux-block brauner/linux/fs.acl.rework
head: 168c83c696c76fd4c59a9025b285b6e4a6158751
commit: fe269d8c6151fae237e48194a0de35b5d68931bc [20/38] integrity: implement get and set acl hook
config: x86_64-rhel-8.3-func
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/fe269d8c6151fae237e48194a0de35b5d68931bc
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block brauner/linux/fs.acl.rework
git checkout fe269d8c6151fae237e48194a0de35b5d68931bc
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/md/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from drivers/md/dm-ioctl.c:24:
include/linux/ima.h: In function 'ima_inode_set_acl':
include/linux/ima.h:224:1: error: no return statement in function returning non-void [-Werror=return-type]
224 | }
| ^
include/linux/ima.h: At top level:
>> include/linux/ima.h:232:15: error: return type defaults to 'int' [-Werror=implicit-int]
232 | static inline ima_inode_remove_acl(struct user_namespace *mnt_userns,
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/int +232 include/linux/ima.h
231
> 232 static inline ima_inode_remove_acl(struct user_namespace *mnt_userns,
233 struct dentry *dentry, const char *acl_name)
234 {
235 return 0;
236 }
237 #endif /* CONFIG_IMA_APPRAISE */
238
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (168366 bytes)
Powered by blists - more mailing lists