CC: kbuild-...@lists.01.org BCC: l...@intel.com In-Reply-To: <20220310234632.16194-8-ca...@schaufler-ca.com> References: <20220310234632.16194-8-ca...@schaufler-ca.com> TO: Casey Schaufler <ca...@schaufler-ca.com> TO: casey.schauf...@intel.com TO: jmor...@namei.org TO: linux-security-mod...@vger.kernel.org TO: seli...@vger.kernel.org CC: ca...@schaufler-ca.com CC: linux-au...@redhat.com CC: keesc...@chromium.org CC: john.johan...@canonical.com CC: penguin-ker...@i-love.sakura.ne.jp CC: p...@paul-moore.com CC: stephen.smalley.w...@gmail.com CC: linux-ker...@vger.kernel.org
Hi Casey, I love your patch! Perhaps something to improve: [auto build test WARNING on pcmoore-audit/next] [also build test WARNING on linus/master v5.17-rc7] [cannot apply to pcmoore-selinux/next jmorris-security/next-testing next-20220310] [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/Casey-Schaufler/integrity-disassociate-ima_filter_rule-from-security_audit_rule/20220311-084644 base: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next :::::: branch date: 22 hours ago :::::: commit date: 22 hours ago config: x86_64-randconfig-m001 (https://download.01.org/0day-ci/archive/20220312/202203120725.qzdgiyi3-...@intel.com/config) compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> Reported-by: Dan Carpenter <dan.carpen...@oracle.com> smatch warnings: include/linux/security.h:168 lsmblob_init() warn: we never enter this loop vim +168 include/linux/security.h 9fb0768247631e3 Casey Schaufler 2022-03-10 156 9fb0768247631e3 Casey Schaufler 2022-03-10 157 /** 9fb0768247631e3 Casey Schaufler 2022-03-10 158 * lsmblob_init - initialize a lsmblob structure 9fb0768247631e3 Casey Schaufler 2022-03-10 159 * @blob: Pointer to the data to initialize 9fb0768247631e3 Casey Schaufler 2022-03-10 160 * @secid: The initial secid value 9fb0768247631e3 Casey Schaufler 2022-03-10 161 * 9fb0768247631e3 Casey Schaufler 2022-03-10 162 * Set all secid for all modules to the specified value. 9fb0768247631e3 Casey Schaufler 2022-03-10 163 */ 9fb0768247631e3 Casey Schaufler 2022-03-10 164 static inline void lsmblob_init(struct lsmblob *blob, u32 secid) 9fb0768247631e3 Casey Schaufler 2022-03-10 165 { 9fb0768247631e3 Casey Schaufler 2022-03-10 166 int i; 9fb0768247631e3 Casey Schaufler 2022-03-10 167 9fb0768247631e3 Casey Schaufler 2022-03-10 @168 for (i = 0; i < LSMBLOB_ENTRIES; i++) 9fb0768247631e3 Casey Schaufler 2022-03-10 169 blob->secid[i] = secid; 9fb0768247631e3 Casey Schaufler 2022-03-10 170 } 9fb0768247631e3 Casey Schaufler 2022-03-10 171 --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org _______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org