scsi: lpfc: Fix spinlock_irq issues in lpfc_els_flush_cmd()
authorJames Smart <jsmart2021@gmail.com>
Sun, 22 Sep 2019 03:59:00 +0000 (20:59 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Oct 2019 02:07:10 +0000 (22:07 -0400)
commitd38b4a527fe898f859f74a3a43d4308f48ac7855
tree6cb3798b989012dd9bbf7220cab8d3aa2c0fca0b
parent15498dc1a55b7aaea4b51ff03e3ff0f662e73f44
scsi: lpfc: Fix spinlock_irq issues in lpfc_els_flush_cmd()

While reviewing the CT behavior, issues with spinlock_irq were seen. The
driver should be using spinlock_irqsave/irqrestore in the els flush
routine.

Changed to spinlock_irqsave/irqrestore.

Link: https://lore.kernel.org/r/20190922035906.10977-15-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_els.c