aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorHannes Reinecke2021-01-13 10:04:56 +0100
committerMartin K. Petersen2021-01-22 21:14:12 -0500
commit88188179f36cade2ccb7f4734ee6430144aa060b (patch)
treebd195fa1cc972d2a019dbdcb1fb086134a971182 /drivers/pci
parentfc8e006c38e2d8896b53f0c1458e17a0142af392 (diff)
scsi: ips: Use correct command completion on error
A non-zero queuecommand() return code means 'busy', i.e. the command hasn't been submitted. So any command which should be failed need to be completed via the ->scsi_done() callback with the appropriate result code set. Link: https://lore.kernel.org/r/20210113090500.129644-32-hare@suse.de Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions