From 6c952231c049627a0f2ad3f5d01e9c9c5764d651 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Thu, 26 May 2016 16:54:07 -0600 Subject: [PATCH] rcache/grdma: fix typo in cuda code Fixes open-mpi/ompi#1702 Signed-off-by: Nathan Hjelm (back-port of open-mpi/ompi@af52dad8f860f4110db40415f2a683c3234f010f) Signed-off-by: Nathan Hjelm --- opal/mca/mpool/grdma/mpool_grdma_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/mpool/grdma/mpool_grdma_module.c b/opal/mca/mpool/grdma/mpool_grdma_module.c index d99dc3440e..652935407f 100644 --- a/opal/mca/mpool/grdma/mpool_grdma_module.c +++ b/opal/mca/mpool/grdma/mpool_grdma_module.c @@ -523,7 +523,7 @@ static int check_for_cuda_freed_memory(mca_mpool_base_module_t *mpool, void *add /* This memory has been freed. Find all registrations and delete. Ensure they are deregistered * now by passing dereg_mem as the delete function. This is safe because the rcache lock is * recursive and this is only called from register. */ - return mpool->rcache->rcache_iterate (mpool->rcache, base, size, gc_add, NULL); + return mpool->rcache->rcache_iterate (mpool->rcache, addr, size, gc_add, NULL); } #endif /* OPAL_CUDA_GDR_SUPPORT */