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:
30c9afa
)
qla2xxx: Fixed a bug in number of response queue creation logic.
author
Anirban Chakraborty
<
[email protected]
>
Wed, 17 Jun 2009 17:30:28 +0000
(10:30 -0700)
committer
James Bottomley
<
[email protected]
>
Sun, 21 Jun 2009 15:52:43 +0000
(10:52 -0500)
Cc:
[email protected]
Signed-off-by: Anirban Chakraborty <
[email protected]
>
Signed-off-by: Andrew Vasquez <
[email protected]
>
Signed-off-by: James Bottomley <
[email protected]
>
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 dcf011679c8bbab5de6ab3d0b0dc58af4527ec80..f0396e79b6fa159a4a02226ba23ae171a7516652 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_os.c
+++ b/
drivers/scsi/qla2xxx/qla_os.c
@@
-1663,7
+1663,7
@@
skip_pio:
/* queue 0 uses two msix vectors */
if (ql2xmultique_tag) {
cpus = num_online_cpus();
- ha->max_rsp_queues = (ha->msix_count - 1
-
cpus) ?
+ ha->max_rsp_queues = (ha->msix_count - 1
>
cpus) ?
(cpus + 1) : (ha->msix_count - 1);
ha->max_req_queues = 2;
} else if (ql2xmaxqueues > 1) {