linux/drivers/infiniband
Somnath Kotur a0ddc2ec8f bnxt_re: Fix incorrect usage of test_bit()
test_bit() takes a bit number while the 'flags' field in
struct bnxt_qplib_rcfw was using actual BIT position converted
values.
Fix this by assigning bit numbers and use consistent APIs
all the flag values.
Also logging a message in case of failure.

Thanks to Dan Carpenter for pointing this out.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-10-18 10:24:12 -04:00
..
core RDMA/iwcm: Remove a set-but-not-used variable 2017-10-14 20:47:05 -04:00
hw bnxt_re: Fix incorrect usage of test_bit() 2017-10-18 10:24:12 -04:00
sw Merge branch 'hfi1' into k.o/for-next 2017-10-18 10:15:14 -04:00
ulp RDMA/isert: Suppress gcc 7 fall-through complaints 2017-10-14 20:47:05 -04:00
Kconfig infiniband: add MMU dependency for user_mem 2017-10-10 10:49:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00