From 49da998f33ec77500db0d90f77d33090dae7f6cb Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Sun, 13 Sep 2020 22:56:58 -0400 Subject: [PATCH] Fix a copy/paste in the RDMA emulation. Signed-off-by: George Bosilca --- opal/mca/btl/sm/btl_sm_sc_emu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/btl/sm/btl_sm_sc_emu.c b/opal/mca/btl/sm/btl_sm_sc_emu.c index 2840bd09d0..3c143dbeac 100644 --- a/opal/mca/btl/sm/btl_sm_sc_emu.c +++ b/opal/mca/btl/sm/btl_sm_sc_emu.c @@ -90,7 +90,7 @@ static void mca_btl_sm_sc_emu_atomic_32 (int32_t *operand, opal_atomic_int32_t * } #endif -static void mca_btl_sm_sc_emu_rdma (mca_btl_base_module_t *btl, mca_btl_base_tag_t tag, mca_btl_base_descriptor_t *desc, void *ctx) +static void mca_btl_sm_sc_emu_rdma (mca_btl_base_module_t *btl, const mca_btl_base_receive_descriptor_t *desc) { mca_btl_sm_sc_emu_hdr_t *hdr = (mca_btl_sm_sc_emu_hdr_t *) desc->des_segments[0].seg_addr.pval; size_t size = desc->des_segments[0].seg_len - sizeof (*hdr);