Commit f73e4076 authored by Israel Rukshin's avatar Israel Rukshin Committed by Jason Gunthorpe

RDMA/rw: Print the correct number of sig MRs

A wrong value was printed in case of sig MR pool initialization failure.
Signed-off-by: default avatarIsrael Rukshin <israelr@mellanox.com>
Reviewed-by: default avatarMax Gurtovoy <maxg@mellanox.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 2d465a16
...@@ -731,7 +731,7 @@ int rdma_rw_init_mrs(struct ib_qp *qp, struct ib_qp_init_attr *attr) ...@@ -731,7 +731,7 @@ int rdma_rw_init_mrs(struct ib_qp *qp, struct ib_qp_init_attr *attr)
IB_MR_TYPE_SIGNATURE, 2); IB_MR_TYPE_SIGNATURE, 2);
if (ret) { if (ret) {
pr_err("%s: failed to allocated %d SIG MRs\n", pr_err("%s: failed to allocated %d SIG MRs\n",
__func__, nr_mrs); __func__, nr_sig_mrs);
goto out_free_rdma_mrs; goto out_free_rdma_mrs;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment