diff options
author | oulijun <oulijun@huawei.com> | 2018-05-04 10:57:13 +0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-09 10:45:18 -0400 |
commit | a0403be8af338c319b5176c1d2975d94a930a0bf (patch) | |
tree | cd8b916021c7b2d121fa3d48d72455a4604029a1 /drivers/infiniband/hw/i40iw | |
parent | RDMA/hns: Set NULL for __internal_mr (diff) | |
download | linux-dev-a0403be8af338c319b5176c1d2975d94a930a0bf.tar.xz linux-dev-a0403be8af338c319b5176c1d2975d94a930a0bf.zip |
RDMA/hns: Fix the bug with NULL pointer
When the last QP of eight QPs is not exist in
hns_roce_v1_mr_free_work_fn function, the
print for qpn of hr_qp may introduce a
calltrace for NULL pointer.
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw')
0 files changed, 0 insertions, 0 deletions