CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Casey Schaufler <[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 nf-next/master nf/master linus/master v5.17-rc2 
next-20220203]
[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/Casey-Schaufler/integrity-disassociate-ima_filter_rule-from-security_audit_rule/20220203-085302
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next
:::::: branch date: 25 hours ago
:::::: commit date: 25 hours ago
config: i386-randconfig-m021-20220131 
(https://download.01.org/0day-ci/archive/20220204/[email protected]/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

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

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

vim +168 include/linux/security.h

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

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

Reply via email to