diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-01-25 16:20:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-02-23 07:37:55 -0800 |
commit | 36a508e6c61a3c49680ee349149a8f5f1fb5acd8 (patch) | |
tree | beb72784db5b6e64a0c890392b3ce9e2597b1fe8 /drivers/message | |
parent | 483d7142396f0d8b8f8748a4069b71c13ca662e5 (diff) |
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>
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index c29578614504..6cea7181ed73 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; } |