From 091b20b82e06c90ad12a2ba8de58fdc4c521b27b Mon Sep 17 00:00:00 2001 From: Ian Ziemba Date: Wed, 15 Jan 2025 15:51:47 -0600 Subject: [PATCH] prov/cxi: Fix fi_cq_strerror ofi_cq_strerror() was being called instead of cxip_cq_strerror(). Signed-off-by: Ian Ziemba --- prov/cxi/src/cxip_cq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prov/cxi/src/cxip_cq.c b/prov/cxi/src/cxip_cq.c index f55eb27141f..a4613c66149 100644 --- a/prov/cxi/src/cxip_cq.c +++ b/prov/cxi/src/cxip_cq.c @@ -375,7 +375,7 @@ static struct fi_ops_cq cxip_cq_ops = { .sread = cxip_cq_sread, .sreadfrom = cxip_cq_sreadfrom, .signal = cxip_cq_signal, - .strerror = ofi_cq_strerror, + .strerror = cxip_cq_strerror, }; static struct fi_cq_attr cxip_cq_def_attr = { @@ -510,7 +510,6 @@ int cxip_cq_open(struct fid_domain *domain, struct fi_cq_attr *attr, goto err_util_cq; } - cxi_cq->util_cq.cq_fid.ops->strerror = &cxip_cq_strerror; cxi_cq->util_cq.cq_fid.fid.ops = &cxip_cq_fi_ops; cxi_cq->util_cq.cq_fid.ops = &cxip_cq_ops; cxi_cq->domain = cxi_dom;