diff options
author | Dick Kennedy | 2017-09-30 02:34:35 +0200 |
---|---|---|
committer | Martin K. Petersen | 2017-10-03 04:46:36 +0200 |
commit | 8e036a9497c5d565baafda4c648f2f372999a547 (patch) | |
tree | 648132c50d271d623f8ce58c3235b7757372aff0 /drivers/scsi/lpfc/lpfc_nvmet.c | |
parent | scsi: lpfc: Move CQ processing to a soft IRQ (diff) | |
download | kernel-qcow2-linux-8e036a9497c5d565baafda4c648f2f372999a547.tar.gz kernel-qcow2-linux-8e036a9497c5d565baafda4c648f2f372999a547.tar.xz kernel-qcow2-linux-8e036a9497c5d565baafda4c648f2f372999a547.zip |
scsi: lpfc: Fix FCP hba_wqidx assignment
The driver is encountering oops in lpfc_sli_calc_ring.
The driver is setting hba_wqidx for FCP based on the policy in use for
NVME. The two may not be the same. Change to set the wqidx based on the
FCP policy.
Cc: <stable@vger.kernel.org> # 4.12+
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvmet.c')
0 files changed, 0 insertions, 0 deletions