This patch set mainly fixes some issues exposed for hns driver. The issue list as follows: 1. Unload hns driver when test on the board which its ports less than six 2. May happen wild pointer error excepted exit when destroy rc qp 3. Should use rdma_wr() for RDMA operation when post send 4. Delete unnecessary lock operation in hns_roce_mac() 5. Fix checkpatch.pl check warnings. Change from v1: - re-write the changelog - assgin rdma_ah_type type for roce in hns_roce_rsv_lp_qp() according to 4.12 Lijun Ou (5): IB/hns: Fix the bug of polling cq failed for loopback Qps IB/hns: Fix the bug with wild pointer when destroy rc qp IB/hns: Fix the bug with rdma operation IB/hns: Fix the bug with modifying the MAC address without removing the driver IB/hns: Fix for checkpatch.pl comment style warnings drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 83 ++++++++++++++++++------------ drivers/infiniband/hw/hns/hns_roce_main.c | 3 -- 2 files changed, 51 insertions(+), 35 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html