aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2019-08-01 01:27:25 +0000
committerDoug Ledford <[email protected]>2019-08-01 12:53:53 -0400
commit020fb3bebc224dfe9353a56ecbe2d5fac499dffc (patch)
tree7776d85a43ceb63a0bb62c73b7d546f8ee1fe5de /lib/mpi/mpi-internal.h
parent23eaf3b5c1a755e3193480c76fb29414be648688 (diff)
RDMA/hns: Fix error return code in hns_roce_v1_rsv_lp_qp()
Fix to return error code -ENOMEM from the rdma_zalloc_drv_obj() error handling case instead of 0, as done elsewhere in this function. Fixes: e8ac9389f0d7 ("RDMA: Fix allocation failure on pointer pd") Fixes: 21a428a019c9 ("RDMA: Handle PD allocations by IB/core") Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions