Few bug fixes for bnxt_re Patch 1 and 2 are fixes for two smatch warnings. Patch 3 fix some of the resource leaks in error path. Patch 4 changes the rtnl locking during registration to avoid system crash Please review and apply Selvin Xavier (4): RDMA/bnxt_re: Avoid null check after accessing the pointer RDMA/bnxt_re: Avoid accessing nq->bar_reg_iomem in failure case RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails RDMA/bnxt_re: Handle all RDMA resource initialization under rtnl_lock drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 + drivers/infiniband/hw/bnxt_re/main.c | 122 ++++++++++++++--------------- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 3 +- drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 13 ++- 4 files changed, 69 insertions(+), 71 deletions(-) -- 2.5.5