summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_rc.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-05-19 08:51:58 -0700
committerRoland Dreier <rolandd@cisco.com>2007-05-19 08:51:58 -0700
commit59b0ed121297b57abb2352bdc8313959e7cb5635 (patch)
tree560ade0adc4a3ccf88336ee88fea0f079868862a /drivers/infiniband/hw/ipath/ipath_rc.c
parent23c15c21d34a4b4b4d7b9a95ce498991c5339c77 (diff)
downloadtalos-op-linux-59b0ed121297b57abb2352bdc8313959e7cb5635.tar.gz
talos-op-linux-59b0ed121297b57abb2352bdc8313959e7cb5635.zip
IB/mlx4: Fix check of opcode in mlx4_ib_post_send()
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>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_rc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud