aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEwan D. Milne <[email protected]>2018-12-13 15:25:16 -0500
committerMartin K. Petersen <[email protected]>2018-12-18 23:25:35 -0500
commit4e87eb2f46ea547d12a276b2e696ab934d16cfb6 (patch)
tree8cad48b5ecd80c9b76bbe93907b2a30f5e73c175 /scripts
parent4af14d113bcf95c12d1462ba623b7e7117bd3fb3 (diff)
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: [email protected] # 4.11+ Signed-off-by: Ewan D. Milne <[email protected]> Reviewed-by: Laurence Oberman <[email protected]> Tested-by: Laurence Oberman <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions