CC: [email protected]
CC: [email protected]
TO: Joel Stanley <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   a763d5a5abd65797aec3dd1bf01fe2ccbec32967
commit: f72ddbe1d7b7d0b2a1179a8dded704ed87001351 fsi: scom: Remove retries
date:   6 months ago
:::::: branch date: 5 hours ago
:::::: commit date: 6 months ago
config: i386-randconfig-m021-20211209 
(https://download.01.org/0day-ci/archive/20211212/[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:
drivers/fsi/fsi-scom.c:314 get_scom() error: uninitialized symbol 'status'.

vim +/status +314 drivers/fsi/fsi-scom.c

6b293258cded9c Benjamin Herrenschmidt 2018-06-12  303  
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  304  static int 
get_scom(struct scom_device *scom, uint64_t *value,
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  305               uint64_t 
addr)
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  306  {
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  307   uint32_t status;
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  308   int rc;
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  309  
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  310   rc = raw_get_scom(scom, 
value, addr, &status);
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  311   if (rc == -ENODEV)
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  312           return rc;
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  313  
6b293258cded9c Benjamin Herrenschmidt 2018-06-12 @314   rc = 
handle_fsi2pib_status(scom, status);
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  315   if (rc)
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  316           return rc;
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  317  
f72ddbe1d7b7d0 Joel Stanley           2021-05-27  318   return 
handle_pib_status(scom,
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  319                           
 (status & SCOM_STATUS_PIB_RESP_MASK)
6b293258cded9c Benjamin Herrenschmidt 2018-06-12  320                           
 >> SCOM_STATUS_PIB_RESP_SHIFT);
680ca6dcf5c222 Christopher Bostic     2017-06-06  321  }
680ca6dcf5c222 Christopher Bostic     2017-06-06  322  

:::::: The code at line 314 was first introduced by commit
:::::: 6b293258cded9c8ee44cce4081d9170d6d1b5f5d fsi: scom: Major overhaul

:::::: TO: Benjamin Herrenschmidt <[email protected]>
:::::: CC: Benjamin Herrenschmidt <[email protected]>

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