linux/drivers/scsi/fnic
Hannes Reinecke 712582e60f 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>
2020-10-02 21:09:26 -04:00
..
cq_desc.h
cq_enet_desc.h
cq_exch_desc.h
fcpio.h
fnic_attrs.c
fnic_debugfs.c scsi: fnic: remove redundant assignment of variable rc 2019-08-19 21:51:00 -04:00
fnic_fcs.c scsi: fnic: Remove set but not used 'eth_hdrs_stripped' 2020-09-02 22:49:07 -04:00
fnic_fip.h
fnic_io.h scsi: fnic: support to display 20G port speed 2019-01-22 21:18:33 -05:00
fnic_isr.c scsi: fnic: fix msix interrupt allocation 2019-09-07 15:29:12 -04:00
fnic_main.c scsi: fnic: Remove unneeded semicolon 2020-09-15 17:35:00 -04:00
fnic_res.c
fnic_res.h
fnic_scsi.c scsi: fnic: Do not call 'scsi_done()' for unhandled commands 2020-10-02 21:09:26 -04:00
fnic_stats.h scsi: fnic: no need to check return value of debugfs_create functions 2019-01-29 00:40:53 -05:00
fnic_trace.c scsi: fnic: Use scnprintf() for avoiding potential buffer overflow 2020-03-17 13:36:10 -04:00
fnic_trace.h scsi: fnic: no need to check return value of debugfs_create functions 2019-01-29 00:40:53 -05:00
fnic.h scsi: fnic: Update fnic driver version to 1.6.0.47 2019-01-22 21:18:35 -05:00
Makefile
rq_enet_desc.h
vnic_cq_copy.h
vnic_cq.c
vnic_cq.h
vnic_dev.c scsi: fnic: make some symbols static 2020-04-17 13:48:03 -04:00
vnic_dev.h scsi: fnic: Enable fnic devcmd2 interface 2019-01-22 21:18:35 -05:00
vnic_devcmd.h scsi: Replace zero-length array with flexible-array member 2020-03-11 23:07:56 -04:00
vnic_intr.c
vnic_intr.h
vnic_nic.h
vnic_resource.h scsi: fnic: fnic devcmd2 interface definitions 2019-01-22 21:18:34 -05:00
vnic_rq.c scsi: fnic: Remove set but not used variable 'vdev' 2019-01-29 01:16:09 -05:00
vnic_rq.h
vnic_scsi.h
vnic_stats.h
vnic_wq_copy.c
vnic_wq_copy.h
vnic_wq.c scsi: fnic: make vnic_wq_get_ctrl and vnic_wq_alloc_ring static 2020-04-17 13:48:05 -04:00
vnic_wq.h scsi: fnic: Add devcmd2 initialization helpers 2019-01-22 21:18:34 -05:00
wq_enet_desc.h