diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-01-25 10:50:52 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-08 19:40:17 (GMT) |
commit | 9858ae38011d699d4c2fa7f3493a47accf43a0f5 (patch) | |
tree | 4ea7b8c4c5c0782d366daf61c352069b83203f94 /drivers/message | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) | |
download | linux-fsl-qoriq-9858ae38011d699d4c2fa7f3493a47accf43a0f5.tar.xz |
[SCSI] mptfusion : mptscsih_abort return value should be SUCCESS instead of value 0.
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>
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 5775275..81279b3 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c @@ -1796,7 +1796,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; } |