diff options
author | Ewan D. Milne <emilne@redhat.com> | 2018-12-13 23:25:16 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-19 07:25:35 +0300 |
commit | 4e87eb2f46ea547d12a276b2e696ab934d16cfb6 (patch) | |
tree | 8cad48b5ecd80c9b76bbe93907b2a30f5e73c175 /tools/perf/scripts/python | |
parent | 4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (diff) | |
download | linux-4e87eb2f46ea547d12a276b2e696ab934d16cfb6.tar.xz |
scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid
Certain older adapters such as the OneConnect OCe10100 may not have a valid
wqpcnt value. In this case, do not set queue->page_count to 0 in
lpfc_sli4_queue_alloc() as this will prevent the driver from initializing.
Fixes: 895427bd01 ("scsi: lpfc: NVME Initiator: Base modifications")
Cc: stable@vger.kernel.org # 4.11+
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Laurence Oberman <loberman@redhat.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions