diff options
author | Daniel Wagner <[email protected]> | 2020-09-29 09:38:02 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-10-07 23:50:03 -0400 |
commit | 657ed8a8a61b15eba70f7c4e2b61f643cf1ba91f (patch) | |
tree | 2aeda6ae8e251d3cdd87711f598b5ddead8b9fd3 /scripts/gdb | |
parent | b994718760fa6de431ee7504ca4553536c77ee43 (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