aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2010-01-25 16:20:52 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2010-02-23 07:37:55 -0800
commit36a508e6c61a3c49680ee349149a8f5f1fb5acd8 (patch)
treebeb72784db5b6e64a0c890392b3ce9e2597b1fe8
parent483d7142396f0d8b8f8748a4069b71c13ca662e5 (diff)
downloadlinux-ak78xx-36a508e6c61a3c49680ee349149a8f5f1fb5acd8.tar.gz
SCSI: mptfusion : mptscsih_abort return value should be SUCCESS instead of value 0.
commit 9858ae38011d699d4c2fa7f3493a47accf43a0f5 upstream. retval should be SUCCESS/FAILED which is defined at scsi.h retval = 0 is directing wrong return value. It must be retval = SUCCESS. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/message/fusion/mptscsih.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
index c2957861450..6cea7181ed7 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -1720,7 +1720,7 @@ mptscsih_abort(struct scsi_cmnd * SCpnt)
dtmprintk(ioc, printk(MYIOC_s_DEBUG_FMT "task abort: "
"Command not in the active list! (sc=%p)\n", ioc->name,
SCpnt));
- retval = 0;
+ retval = SUCCESS;
goto out;
}