diff options
author | 2016-01-03 16:05:17 +1100 | |
---|---|---|
committer | 2016-01-06 21:42:55 -0500 | |
commit | 1f1b0c74dfaf6264d239823ed5aeb8dcdd62838c (patch) | |
tree | a2546a9f0c41190abf44da820688166609fc13f8 /drivers/scsi/sun3_scsi.c | |
parent | ncr5380: Always escalate bad target time-out in NCR5380_select() (diff) | |
download | wireguard-linux-1f1b0c74dfaf6264d239823ed5aeb8dcdd62838c.tar.xz wireguard-linux-1f1b0c74dfaf6264d239823ed5aeb8dcdd62838c.zip |
ncr5380: Proceed with next command after NCR5380_select() calls scsi_done
If a target disappears from the SCSI bus, NCR5380_select() may
subsequently fail with a time-out. In this situation, scsi_done is
called and NCR5380_select() returns 0. Both hostdata->connected and
hostdata->selecting are NULL and the main loop should proceed with
the next command in the issue queue. Clarify this logic.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sun3_scsi.c')
0 files changed, 0 insertions, 0 deletions