scsi: core: Use DID_TIME_OUT instead of DRIVER_TIMEOUT
authorHannes Reinecke <hare@suse.de>
Tue, 27 Apr 2021 08:30:17 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Jun 2021 02:48:22 +0000 (22:48 -0400)
commit4bd51e54e16ad0b0dba4feb0fdb70861feb2869d
tree21e4ac96779da04b8d8d94180617030794c9b070
parent16576ad8a8f0c05f8cd86779e3f2c0ee9f5e5552
scsi: core: Use DID_TIME_OUT instead of DRIVER_TIMEOUT

Set DID_TIME_OUT instead of DRIVER_TIMEOUT when a command
is finally marked as failed after error recovery.

Link: https://lore.kernel.org/r/20210427083046.31620-12-hare@suse.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_error.c