git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
048975a
)
IB/mthca: Coverity fix to mthca_init_eq_table()
author
Roland Dreier
<rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:25 +0000
(10:08 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:25 +0000
(10:08 -0800)
Fix bug found by coverity: the loop body never executed, because it
was doing for (i = 0; i < MTHCA_EQ_CMD; ++i), but MTHCA_EQ_CMD is 0.
The correct loop bound is MTHCA_NUM_EQ, to loop over all EQs.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found