diff options
author | 2021-11-01 16:28:24 -0700 | |
---|---|---|
committer | 2021-11-18 22:26:58 -0500 | |
commit | 606c54ae975ad3af540b505b46b55a687501711f (patch) | |
tree | 6f929f63f1bed26ea8dd1fb7d2b36708f0586baf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | scsi: pm80xx: Do not check the address-of value for NULL (diff) | |
download | linux-dev-606c54ae975ad3af540b505b46b55a687501711f.tar.xz linux-dev-606c54ae975ad3af540b505b46b55a687501711f.zip |
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/20211101232825.2350233-4-ipylypiv@google.com
Fixes: 7640e1eb8c5d ("scsi: pm80xx: Make mpi_build_cmd locking consistent")
Reviewed-by: Vishakha Channapattan <vishakhavc@google.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Igor Pylypiv <ipylypiv@google.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions