Hi Ondrej,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   f43b05fd4c176d42c7b3f3b99643910486fc49c8
commit: 9bee24d08c08a08464b97e1da5c37acbc57a67df [10745/10960] scsi: fdomain: 
Resurrect driver - PCI support

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

smatch warnings:
drivers/scsi/fdomain.c:450 fdomain_host_reset() error: double lock 
'spin_lock:sh->host_lock'
drivers/scsi/fdomain.c:450 fdomain_host_reset() error: double lock 
'irqsave:flags'

# 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9bee24d08c08a08464b97e1da5c37acbc57a67df
git remote add linux-next 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git remote update linux-next
git checkout 9bee24d08c08a08464b97e1da5c37acbc57a67df
vim +450 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);
                                             ^^^^
unlock.

92408047 Ondrej Zary 2019-04-29  451    return SUCCESS;
92408047 Ondrej Zary 2019-04-29  452  }
92408047 Ondrej Zary 2019-04-29  453  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to