summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esas2r
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/esas2r
parent883a030f989a17b81167f3a181cf93d741fa98b4 (diff)
downloadlinux-b6c92b7e0af575e2b8b05bdf33633cf9e1661cbf.tar.gz
linux-b6c92b7e0af575e2b8b05bdf33633cf9e1661cbf.tar.bz2
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/esas2r')
-rw-r--r--drivers/scsi/esas2r/esas2r_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/esas2r/esas2r_main.c b/drivers/scsi/esas2r/esas2r_main.c
index 6504a195c874..45aa684f8b74 100644
--- a/drivers/scsi/esas2r/esas2r_main.c
+++ b/drivers/scsi/esas2r/esas2r_main.c
@@ -1057,7 +1057,7 @@ int esas2r_eh_abort(struct scsi_cmnd *cmd)
cmd->scsi_done(cmd);
- return 0;
+ return SUCCESS;
}
spin_lock_irqsave(&a->queue_lock, flags);