]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2015 18:00:48 +0000 (10:00 -0800)
commitd46939673d59f3687bff8438305a726b3bb084c5
tree77a422bc238faf10a3d1ba13c4bbe16d82114866
parenta29dc4ceb66bfc5495da0ab61ca5a8a04da2057d
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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