]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 7 Jan 2015 15:24:09 +0000 (16:24 +0100)
commitd9927e47772f49909075b62a3c1cffcee35a687c
tree3cc9d911e37f12341d7f7e98164f06184d6fcd27
parentfe882bbc67689d331bf45fd3b77f63a989b25d3b
scsi: correct return values for .eh_abort_handler implementations

commit b6c92b7e0af575e2b8b05bdf33633cf9e1661cbf upstream.

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>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
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