Skip to content

Commit 70a6244

Browse files
committed
btl/base: Fix call to mca_btl_base_am_atomic_64().
A typo in the call to mca_btl_base_am_atomic_64() was passing in the same address for the target and operand pointers. Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
1 parent e6cba98 commit 70a6244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/base/btl_base_am_rdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ static void mca_btl_base_am_process_atomic(mca_btl_base_module_t *btl,
976976
atomic_response = tmp;
977977
}
978978
if (8 == hdr->data.atomic.size) {
979-
mca_btl_base_am_atomic_64((int64_t *) hdr->target_address,
979+
mca_btl_base_am_atomic_64(&atomic_response,
980980
(opal_atomic_int64_t *) (uintptr_t) hdr->target_address,
981981
hdr->data.atomic.op);
982982
}

0 commit comments

Comments
 (0)