[PATCH V3 for-next 4/9] IB/hns: Fix two possible bugs for rdma cm

2016-09-15 Thread Salil Mehta
From: Lijun Ou Fix the length of wqe that maybe lead to an error and write the end bytes of QP1C into the register. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu Signed-off-by: Salil Mehta ---

[PATCH V3 for-next 4/9] IB/hns: Fix two possible bugs for rdma cm

2016-09-15 Thread Salil Mehta
From: Lijun Ou Fix the length of wqe that maybe lead to an error and write the end bytes of QP1C into the register. Signed-off-by: Lijun Ou Reviewed-by: Wei Hu Signed-off-by: Salil Mehta --- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 10 -- 1 file changed, 4 insertions(+), 6