diff options
author | John Garry <john.garry@huawei.com> | 2018-10-16 18:00:36 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-17 00:50:49 +0300 |
commit | fe5fb42de36227c1c2dbb1e7403329ec8a915c20 (patch) | |
tree | 30ea9037a07d1a7f104ae610804f69337814aee8 /drivers/scsi/lpfc/lpfc_init.c | |
parent | abaf75dd610ccfe1d085cb17061ac8862aabd2ea (diff) | |
download | linux-fe5fb42de36227c1c2dbb1e7403329ec8a915c20.tar.xz |
scsi: hisi_sas: Fix spin lock management in slot_index_alloc_quirk_v2_hw()
Currently a spin_unlock_irqrestore() call is missing on the error path,
so add it.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
0 files changed, 0 insertions, 0 deletions