]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix premature re-enabling of interrupts in lpfc_sli_host_down
authorJames Smart <jsmart2021@gmail.com>
Sun, 22 Sep 2019 03:58:48 +0000 (20:58 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Oct 2019 02:07:08 +0000 (22:07 -0400)
commit9bf8ab3766671e96277592948f4f7b8e4fa28a08
tree7474290a2e8ab8dd9fcf2797aee98e0d84232a91
parent9fd82f7013699ebbda700de8c63b5890e1eb196c
scsi: lpfc: Fix premature re-enabling of interrupts in lpfc_sli_host_down

Use of spin_lock_irq may re-enable interrupts prematurely.

Convert to spin_lock. Note: code is under the phba->hba_lock which has been
locked with irqsave.

Link: https://lore.kernel.org/r/20190922035906.10977-3-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c