summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.com>2020-05-15 14:26:47 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-10-03 04:09:26 +0300
commit712582e60f288e7cede8d6fc8769529317e0f3e0 (patch)
tree226f5610120e4ab99c89a50129c1099135f38c71 /scripts/generate_rust_analyzer.py
parent6500251e590657066a227dce897a0392f302af24 (diff)
downloadlinux-712582e60f288e7cede8d6fc8769529317e0f3e0.tar.xz
scsi: fnic: Do not call 'scsi_done()' for unhandled commands
The fnic drivers assigns an ioreq structure to each command and severs this assignment once scsi_done() has been called and the command has been completed. When traversing commands to terminate outstanding I/O we should not call scsi_done() on commands which do not have a corresponding ioreq structure; these commands have either never entered the driver or have already been completed. [mkp: fixed unused label warning] Link: https://lore.kernel.org/r/20200515112647.49260-1-hare@suse.de Reported-by: kbuild test robot <lkp@intel.com> Reviewed-by: Laurence Oberman <loberman@redhat.com> Acked-by: Satish Kharat <satishkh@cisco.com> Acked-by: Karan Tilak Kumar <kartilak@cisco.com> Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions