CC: [email protected]
BCC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Casey Schaufler <[email protected]>
TO: [email protected]
TO: [email protected]
TO: [email protected]
TO: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

Hi Casey,

I love your patch! Perhaps something to improve:

[auto build test WARNING on pcmoore-audit/next]
[also build test WARNING on pcmoore-selinux/next linus/master v5.19-rc1 
next-20220610]
[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/intel-lab-lkp/linux/commits/Casey-Schaufler/integrity-disassociate-ima_filter_rule-from-security_audit_rule/20220610-080129
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: i386-randconfig-m021 
(https://download.01.org/0day-ci/archive/20220612/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
include/linux/security.h:170 lsmblob_init() warn: we never enter this loop

vim +170 include/linux/security.h

03e5d0189b60bc Casey Schaufler 2022-06-09  158  
03e5d0189b60bc Casey Schaufler 2022-06-09  159  /**
03e5d0189b60bc Casey Schaufler 2022-06-09  160   * lsmblob_init - initialize a 
lsmblob structure
03e5d0189b60bc Casey Schaufler 2022-06-09  161   * @blob: Pointer to the data 
to initialize
03e5d0189b60bc Casey Schaufler 2022-06-09  162   * @secid: The initial secid 
value
03e5d0189b60bc Casey Schaufler 2022-06-09  163   *
03e5d0189b60bc Casey Schaufler 2022-06-09  164   * Set all secid for all 
modules to the specified value.
03e5d0189b60bc Casey Schaufler 2022-06-09  165   */
03e5d0189b60bc Casey Schaufler 2022-06-09  166  static inline void 
lsmblob_init(struct lsmblob *blob, u32 secid)
03e5d0189b60bc Casey Schaufler 2022-06-09  167  {
03e5d0189b60bc Casey Schaufler 2022-06-09  168          int i;
03e5d0189b60bc Casey Schaufler 2022-06-09  169  
03e5d0189b60bc Casey Schaufler 2022-06-09 @170          for (i = 0; i < 
LSMBLOB_ENTRIES; i++)
03e5d0189b60bc Casey Schaufler 2022-06-09  171                  blob->secid[i] 
= secid;
03e5d0189b60bc Casey Schaufler 2022-06-09  172  }
03e5d0189b60bc Casey Schaufler 2022-06-09  173  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to