projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97f5d0
)
[SCSI] qla2xxx: Fixup looking for a space in the outstanding_cmds array in qla2x00_al...
author
Chad Dupuis
<chad.dupuis@qlogic.com>
Fri, 7 Mar 2014 07:43:52 +0000
(
02:43
-0500)
committer
James Bottomley
<JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:18:54 +0000
(10:18 -0700)
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_iocb.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_iocb.c
b/drivers/scsi/qla2xxx/qla_iocb.c
index
8c5dec2
..
e607568
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_iocb.c
+++ b/
drivers/scsi/qla2xxx/qla_iocb.c
@@
-1814,7
+1814,7
@@
qla2x00_alloc_iocbs(scsi_qla_host_t *vha, srb_t *sp)
/* Check for room in outstanding command list. */
handle = req->current_outstanding_cmd;
- for (index = 1; req->num_outstanding_cmds; index++) {
+ for (index = 1;
index <
req->num_outstanding_cmds; index++) {
handle++;
if (handle == req->num_outstanding_cmds)
handle = 1;