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:
23c15c2
)
IB/mlx4: Fix check of opcode in mlx4_ib_post_send()
author
Roland Dreier
<rolandd@cisco.com>
Sat, 19 May 2007 15:51:58 +0000
(08:51 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sat, 19 May 2007 15:51:58 +0000
(08:51 -0700)
wr->opcode is invalid if it's >= ARRAY_SIZE(mlx4_ib_opcode), not just
strictly >.
This was spotted by the Coverity checker (CID 1643).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found