From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0568701604304876583==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH v3 2/2] security/inode.c: Add capabilities file. Date: Fri, 21 Jan 2022 12:01:42 +0800 Message-ID: <202201211107.0Qa4Y0bI-lkp@intel.com> In-Reply-To: <20220120180116.167702-3-flaniel@linux.microsoft.com> List-Id: --===============0568701604304876583== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Francis, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on linux/master] [also build test ERROR on linus/master jmorris-security/next-testing v5.16 = next-20220120] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Francis-Laniel/Add-capabil= ities-file-to-sysfs/20220121-020524 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = 1d1df41c5a33359a00e919d54eaebfb789711fdc config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/202= 20121/202201211107.0Qa4Y0bI-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/48b37f6e79a73709d7bcf17ea= 19464073f5da9b6 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Francis-Laniel/Add-capabilities-fi= le-to-sysfs/20220121-020524 git checkout 48b37f6e79a73709d7bcf17ea19464073f5da9b6 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): security/inode.c: In function 'securityfs_init': >> security/inode.c:362:24: error: implicit declaration of function 'securi= tyfs'; did you mean 'security_bpf'? [-Werror=3Dimplicit-function-declaratio= n] 362 | capabilities_dentry =3D securityfs("capabilities", 0444, NULL, = NULL, | ^~~~~~~~~~ | security_bpf >> security/inode.c:362:22: warning: assignment to 'struct dentry *' from '= int' makes pointer from integer without a cast [-Wint-conversion] 362 | capabilities_dentry =3D securityfs("capabilities", 0444, NULL, = NULL, | ^ cc1: some warnings being treated as errors vim +362 security/inode.c 344 = 345 static int __init securityfs_init(void) 346 { 347 int retval; 348 = 349 retval =3D sysfs_create_mount_point(kernel_kobj, "security"); 350 if (retval) 351 return retval; 352 = 353 retval =3D register_filesystem(&fs_type); 354 if (retval) { 355 sysfs_remove_mount_point(kernel_kobj, "security"); 356 return retval; 357 } 358 #ifdef CONFIG_SECURITY 359 lsm_dentry =3D securityfs_create_file("lsm", 0444, NULL, NULL, 360 &lsm_ops); 361 #endif > 362 capabilities_dentry =3D securityfs("capabilities", 0444, NULL, NULL, --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0568701604304876583==--