CC: [email protected] CC: Linux Memory Management List <[email protected]> TO: Daejun Park <[email protected]> CC: "Martin K. Petersen" <[email protected]> CC: "Greg Kroah-Hartman" <[email protected]> CC: Bart Van Assche <[email protected]> CC: Can Guo <[email protected]> CC: Bean Huo <[email protected]> CC: Stanley Chu <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 2f73937c9aa561e2082839bc1a8efaac75d6e244 commit: f02bc9754a6887bf5e286889265d24ce5e3b1952 [4314/5318] scsi: ufs: ufshpb: Introduce Host Performance Buffer feature :::::: branch date: 10 hours ago :::::: commit date: 3 days ago config: nios2-randconfig-m031-20210804 (attached as .config) compiler: nios2-linux-gcc (GCC) 10.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: drivers/scsi/ufs/ufshpb.c:54 ufshpb_init_subregion_tbl() error: potentially dereferencing uninitialized 'srgn'. vim +/srgn +54 drivers/scsi/ufs/ufshpb.c f02bc9754a6887 Daejun Park 2021-07-12 38 f02bc9754a6887 Daejun Park 2021-07-12 39 static void ufshpb_init_subregion_tbl(struct ufshpb_lu *hpb, f02bc9754a6887 Daejun Park 2021-07-12 40 struct ufshpb_region *rgn, bool last) f02bc9754a6887 Daejun Park 2021-07-12 41 { f02bc9754a6887 Daejun Park 2021-07-12 42 int srgn_idx; f02bc9754a6887 Daejun Park 2021-07-12 43 struct ufshpb_subregion *srgn; f02bc9754a6887 Daejun Park 2021-07-12 44 f02bc9754a6887 Daejun Park 2021-07-12 45 for (srgn_idx = 0; srgn_idx < rgn->srgn_cnt; srgn_idx++) { f02bc9754a6887 Daejun Park 2021-07-12 46 srgn = rgn->srgn_tbl + srgn_idx; f02bc9754a6887 Daejun Park 2021-07-12 47 f02bc9754a6887 Daejun Park 2021-07-12 48 srgn->rgn_idx = rgn->rgn_idx; f02bc9754a6887 Daejun Park 2021-07-12 49 srgn->srgn_idx = srgn_idx; f02bc9754a6887 Daejun Park 2021-07-12 50 srgn->srgn_state = HPB_SRGN_UNUSED; f02bc9754a6887 Daejun Park 2021-07-12 51 } f02bc9754a6887 Daejun Park 2021-07-12 52 f02bc9754a6887 Daejun Park 2021-07-12 53 if (unlikely(last && hpb->last_srgn_entries)) f02bc9754a6887 Daejun Park 2021-07-12 @54 srgn->is_last = true; f02bc9754a6887 Daejun Park 2021-07-12 55 } f02bc9754a6887 Daejun Park 2021-07-12 56 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
