projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6339204
)
[SCSI] mptfusion : mptscsih_abort return value should be SUCCESS instead of value 0.
author
Kashyap, Desai
<kashyap.desai@lsi.com>
Mon, 25 Jan 2010 10:50:52 +0000
(16:20 +0530)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 8 Feb 2010 19:40:17 +0000
(13:40 -0600)
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>
drivers/message/fusion/mptscsih.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptscsih.c
b/drivers/message/fusion/mptscsih.c
index 57752751712bb087127f8ab8ccbe1a38252d8bc5..81279b3d694c670ab982520eaafbf6ef2ace54cf 100644
(file)
--- 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;
}