linux/drivers/infiniband/hw/mlx4
Roland Dreier 59b0ed1212 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>
2007-05-19 08:51:58 -07:00
..
ah.c
cq.c
doorbell.c
Kconfig
mad.c
main.c
Makefile
mlx4_ib.h
mr.c
qp.c IB/mlx4: Fix check of opcode in mlx4_ib_post_send() 2007-05-19 08:51:58 -07:00
srq.c
user.h