summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha1740.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2014-10-30 09:44:36 +0100
committerChristoph Hellwig <hch@lst.de>2014-11-12 11:16:08 +0100
commitb6c92b7e0af575e2b8b05bdf33633cf9e1661cbf (patch)
tree9330198bfa322d9dfd400cd8c52bd9d4432ddfbc /drivers/scsi/aha1740.c
parentscsi: document scsi_try_to_abort_cmd (diff)
downloadlinux-b6c92b7e0af575e2b8b05bdf33633cf9e1661cbf.tar.xz
linux-b6c92b7e0af575e2b8b05bdf33633cf9e1661cbf.zip
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>
Diffstat (limited to 'drivers/scsi/aha1740.c')
-rw-r--r--drivers/scsi/aha1740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha1740.c b/drivers/scsi/aha1740.c
index 5f3101797c93..31ace4bef8fe 100644
--- a/drivers/scsi/aha1740.c
+++ b/drivers/scsi/aha1740.c
@@ -531,7 +531,7 @@ static int aha1740_eh_abort_handler (Scsi_Cmnd *dummy)
* quiet as possible...
*/
- return 0;
+ return SUCCESS;
}
static struct scsi_host_template aha1740_template = {