diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-01-25 16:20:52 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-08 13:40:17 -0600 |
commit | 9858ae38011d699d4c2fa7f3493a47accf43a0f5 (patch) | |
tree | 4ea7b8c4c5c0782d366daf61c352069b83203f94 /drivers | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) | |
download | lwn-9858ae38011d699d4c2fa7f3493a47accf43a0f5.tar.gz lwn-9858ae38011d699d4c2fa7f3493a47accf43a0f5.zip |
[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')
-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 57752751712b..81279b3d694c 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; } |