Content-Type: multipart/mixed; boundary="===============4741940682255900559==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC 02/20] ima: Define ns_status for storing namespaced iint data Date: Wed, 01 Dec 2021 07:21:58 +0800 Message-ID: <202112010752.p7PfhOZ8-lkp@intel.com> In-Reply-To: <20211130160654.1418231-3-stefanb@linux.ibm.com> List-Id: --===============4741940682255900559== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Stefan, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on zohar-integrity/next-integrity] [also build test WARNING on pcmoore-selinux/next linus/master v5.16-rc3 nex= t-20211130] [cannot apply to jmorris-security/next-testing] [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/Stefan-Berger/ima-Namespac= e-IMA-with-audit-support-in-IMA-ns/20211201-001242 base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integri= ty.git next-integrity config: arm-randconfig-r014-20211128 (https://download.01.org/0day-ci/archi= ve/20211201/202112010752.p7PfhOZ8-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 25eb7f= a01d7ebbe67648ea03841cda55b4239ab2) reproduce (this is a W=3D1 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/0day-ci/linux/commit/21749848be3e256e789659aa2= b343eee70dd3f65 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Stefan-Berger/ima-Namespace-IMA-wi= th-audit-support-in-IMA-ns/20211201-001242 git checkout 21749848be3e256e789659aa2b343eee70dd3f65 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash security/integrity/ima/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> security/integrity/ima/ima_ns_status.c:72:6: warning: no previous protot= ype for function 'insert_ns_status' [-Wmissing-prototypes] void insert_ns_status(struct ima_namespace *ns, struct inode *inode, ^ security/integrity/ima/ima_ns_status.c:72:1: note: declare 'static' if t= he function is not intended to be used outside of this translation unit void insert_ns_status(struct ima_namespace *ns, struct inode *inode, ^ static = 1 warning generated. vim +/insert_ns_status +72 security/integrity/ima/ima_ns_status.c 71 = > 72 void insert_ns_status(struct ima_namespace *ns, struct inode *inode, 73 struct ns_status *status) 74 { 75 struct rb_node **p; 76 struct rb_node *node, *parent =3D NULL; 77 struct ns_status *test_status; 78 = 79 p =3D &ns->ns_status_tree.rb_node; 80 while (*p) { 81 parent =3D *p; 82 test_status =3D rb_entry(parent, struct ns_status, rb_node); 83 if (inode < test_status->inode) 84 p =3D &(*p)->rb_left; 85 else 86 p =3D &(*p)->rb_right; 87 } 88 node =3D &status->rb_node; 89 rb_link_node(node, parent, p); 90 rb_insert_color(node, &ns->ns_status_tree); 91 } 92 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4741940682255900559==--