From 1b05c177397c2d448ffc73673e3e83bdaa553cab Mon Sep 17 00:00:00 2001 From: Doondi-Ashlesh Date: Tue, 7 Apr 2026 12:52:47 -0400 Subject: [PATCH] fix: correct null-check variable after db_umem registration in ibdevx --- src/modules/transport/ibdevx/ibdevx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/transport/ibdevx/ibdevx.cpp b/src/modules/transport/ibdevx/ibdevx.cpp index 6cc7b182..bae4c2f0 100644 --- a/src/modules/transport/ibdevx/ibdevx.cpp +++ b/src/modules/transport/ibdevx/ibdevx.cpp @@ -366,7 +366,7 @@ static int nvshmemt_ibdevx_mlx5_qp_create(struct ibdevx_ep *ep, struct ibdevx_de NVSHMEMI_NULL_ERROR_JMP(dbr_buf, status, ENOMEM, out, "cannot allocate dbr buf for qpair.\n"); db_umem = mlx5dv_devx_umem_reg(context, dbr_buf, NVSHMEMT_IBDEVX_DBSIZE, 0); - NVSHMEMI_NULL_ERROR_JMP(wq_umem, status, NVSHMEMX_ERROR_INTERNAL, out, + NVSHMEMI_NULL_ERROR_JMP(db_umem, status, NVSHMEMX_ERROR_INTERNAL, out, "cannot register dbr buf for qpair.\n"); if (device->pdn == 0) {