CC: [email protected]
BCC: [email protected]
CC: Alison Schofield <[email protected]>
CC: Vishal Verma <[email protected]>
CC: Ira Weiny <[email protected]>
CC: Ben Widawsky <[email protected]>
CC: Dan Williams <[email protected]>
TO: Dan Williams <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git preview
head:   1985cf58850562e4b960e19d46f0d8f19d6c7cbd
commit: 9ca045c484e85341c26fe26881e528f7624bdaea [47/51] cxl/hdm: Commit 
decoder state to hardware
:::::: branch date: 7 days ago
:::::: commit date: 7 days ago
config: i386-randconfig-m021 
(https://download.01.org/0day-ci/archive/20220702/[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:
drivers/cxl/core/hdm.c:457 cxld_set_interleave() error: uninitialized symbol 
'eig'.
drivers/cxl/core/hdm.c:458 cxld_set_interleave() error: uninitialized symbol 
'eiw'.

vim +/eig +457 drivers/cxl/core/hdm.c

9bf2b58793cb51 Dan Williams 2022-05-23  448  
9ca045c484e853 Dan Williams 2022-06-08  449  static void 
cxld_set_interleave(struct cxl_decoder *cxld, u32 *ctrl)
9ca045c484e853 Dan Williams 2022-06-08  450  {
9ca045c484e853 Dan Williams 2022-06-08  451     u16 eig;
9ca045c484e853 Dan Williams 2022-06-08  452     u8 eiw;
9ca045c484e853 Dan Williams 2022-06-08  453  
9ca045c484e853 Dan Williams 2022-06-08  454     
ways_to_cxl(cxld->interleave_ways, &eiw);
9ca045c484e853 Dan Williams 2022-06-08  455     
granularity_to_cxl(cxld->interleave_granularity, &eig);
9ca045c484e853 Dan Williams 2022-06-08  456  
9ca045c484e853 Dan Williams 2022-06-08 @457     u32p_replace_bits(ctrl, eig, 
CXL_HDM_DECODER0_CTRL_IG_MASK);
9ca045c484e853 Dan Williams 2022-06-08 @458     u32p_replace_bits(ctrl, eiw, 
CXL_HDM_DECODER0_CTRL_IW_MASK);
9ca045c484e853 Dan Williams 2022-06-08  459     *ctrl |= 
CXL_HDM_DECODER0_CTRL_COMMIT;
9ca045c484e853 Dan Williams 2022-06-08  460  }
9ca045c484e853 Dan Williams 2022-06-08  461  

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