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 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/[email protected]/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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

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/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to