projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63bad45
)
[SCSI] qla2xxx: negative error return in qla2x00_change_queue_depth()
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 29 Jan 2010 10:25:19 +0000
(11:25 +0100)
committer
James Bottomley
<James.Bottomley@suse.de>
Wed, 17 Feb 2010 19:15:39 +0000
(13:15 -0600)
The *change_queue_depth functions usually return a negative error return.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_os.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_os.c
b/drivers/scsi/qla2xxx/qla_os.c
index ddc1d3def36cee25deed74e372d919887d5565ef..82e57d778428d79ea2b0930f22827e15733436d0 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_os.c
+++ b/
drivers/scsi/qla2xxx/qla_os.c
@@
-1258,7
+1258,7
@@
qla2x00_change_queue_depth(struct scsi_device *sdev, int qdepth, int reason)
qla2x00_adjust_sdev_qdepth_up(sdev, qdepth);
break;
default:
- return EOPNOTSUPP;
+ return
-
EOPNOTSUPP;
}
return sdev->queue_depth;