Hi Ondrej,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc
head:   9bee24d08c08a08464b97e1da5c37acbc57a67df
commit: 9bee24d08c08a08464b97e1da5c37acbc57a67df [301/301] scsi: fdomain: 
Resurrect driver - PCI support
reproduce:
        # apt-get install sparse
        git checkout 9bee24d08c08a08464b97e1da5c37acbc57a67df
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/scsi/fdomain.c:442:12: sparse: sparse: context imbalance in 
>> 'fdomain_host_reset' - wrong count at exit

vim +/fdomain_host_reset +442 drivers/scsi/fdomain.c

92408047 Ondrej Zary 2019-04-29  441  
92408047 Ondrej Zary 2019-04-29 @442  static int fdomain_host_reset(struct 
scsi_cmnd *cmd)
92408047 Ondrej Zary 2019-04-29  443  {
92408047 Ondrej Zary 2019-04-29  444    struct Scsi_Host *sh = 
cmd->device->host;
92408047 Ondrej Zary 2019-04-29  445    struct fdomain *fd = shost_priv(sh);
92408047 Ondrej Zary 2019-04-29  446    unsigned long flags;
92408047 Ondrej Zary 2019-04-29  447  
92408047 Ondrej Zary 2019-04-29  448    spin_lock_irqsave(sh->host_lock, flags);
92408047 Ondrej Zary 2019-04-29  449    fdomain_reset(fd->base);
92408047 Ondrej Zary 2019-04-29  450    spin_lock_irqsave(sh->host_lock, flags);
92408047 Ondrej Zary 2019-04-29  451    return SUCCESS;
92408047 Ondrej Zary 2019-04-29  452  }
92408047 Ondrej Zary 2019-04-29  453  

:::::: The code at line 442 was first introduced by commit
:::::: 9240804729fef84f15b018e27e398b9a79ac94d7 scsi: fdomain: Resurrect driver 
- core code

:::::: TO: Ondrej Zary <li...@zary.sk>
:::::: CC: Martin K. Petersen <martin.peter...@oracle.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Reply via email to