diff options
| author | Igor Pylypiv <[email protected]> | 2021-11-01 16:28:24 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-11-18 22:26:58 -0500 |
| commit | 606c54ae975ad3af540b505b46b55a687501711f (patch) | |
| tree | 6f929f63f1bed26ea8dd1fb7d2b36708f0586baf /drivers/scsi/pm8001/pm8001_init.c | |
| parent | 60de1a67d66db11319a82bd95f11c2b12b75dee0 (diff) | |
scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
Starting from commit 05c6c029a44d ("scsi: pm80xx: Increase number of
supported queues") driver initializes only max_q_num queues. Do not use an
invalid queue if the WARN_ON condition is true.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 7640e1eb8c5d ("scsi: pm80xx: Make mpi_build_cmd locking consistent")
Reviewed-by: Vishakha Channapattan <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Igor Pylypiv <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_init.c')
0 files changed, 0 insertions, 0 deletions