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-selinux/next]
[also build test WARNING on linus/master v5.18-rc1 next-20220408]
[cannot apply to pcmoore-audit/next 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/20220408-062243
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git next
:::::: branch date: 14 hours ago
:::::: commit date: 14 hours ago
config: x86_64-randconfig-m001 
(https://download.01.org/0day-ci/archive/20220408/[email protected]/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.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

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

-- 
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