aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorDaniel Wagner <[email protected]>2020-09-29 09:38:02 +0200
committerMartin K. Petersen <[email protected]>2020-10-07 23:50:03 -0400
commit657ed8a8a61b15eba70f7c4e2b61f643cf1ba91f (patch)
tree2aeda6ae8e251d3cdd87711f598b5ddead8b9fd3 /scripts/gdb
parentb994718760fa6de431ee7504ca4553536c77ee43 (diff)
scsi: qla2xxx: Do not consume srb greedily
qla2xx_process_get_sp_from_handle() will clear the slot in which the current srb is stored. As a result it can't be used in qla24xx_process_mbx_iocb_response() to check for consistency and later again in qla24xx_mbx_iocb_entry(). Move the consistency check directly into qla24xx_mbx_iocb_entry() and avoid the double call or any open coding of the qla2xx_process_get_sp_from_handle() functionality. Link: https://lore.kernel.org/r/[email protected] Fixes: 31a3271ff11b ("scsi: qla2xxx: Handle incorrect entry_type entries") Reviewed-by: Arun Easi <[email protected]> Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Daniel Wagner <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions