diff options
author | Hannes Reinecke | 2021-01-13 10:04:56 +0100 |
---|---|---|
committer | Martin K. Petersen | 2021-01-22 21:14:12 -0500 |
commit | 88188179f36cade2ccb7f4734ee6430144aa060b (patch) | |
tree | bd195fa1cc972d2a019dbdcb1fb086134a971182 /drivers/dma/st_fdma.c | |
parent | fc8e006c38e2d8896b53f0c1458e17a0142af392 (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/dma/st_fdma.c')
0 files changed, 0 insertions, 0 deletions