OSDN Git Service

scsi: correct return values for .eh_abort_handler implementations
authorHannes Reinecke <hare@suse.de>
Thu, 30 Oct 2014 08:44:36 +0000 (09:44 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:08 +0000 (11:16 +0100)
commitb6c92b7e0af575e2b8b05bdf33633cf9e1661cbf
tree9330198bfa322d9dfd400cd8c52bd9d4432ddfbc
parent883a030f989a17b81167f3a181cf93d741fa98b4
scsi: correct return values for .eh_abort_handler implementations

The .eh_abort_handler needs to return SUCCESS, FAILED, or
FAST_IO_FAIL. So fixup all callers to adhere to this requirement.

Reviewed-by: Robert Elliott <elliott@hp.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/NCR5380.c
drivers/scsi/aha1740.c
drivers/scsi/atari_NCR5380.c
drivers/scsi/esas2r/esas2r_main.c
drivers/scsi/megaraid.c
drivers/scsi/sun3_NCR5380.c