From 89b1e37d95ae2a4e587a7ae994520b4bdc3df7eb Mon Sep 17 00:00:00 2001 From: Alina Sklarevich Date: Thu, 13 Apr 2017 14:41:13 +0300 Subject: [PATCH] PML/UCX/YALLA: Fix the message release call. Set message to MPI_MESSAGE_NULL. Signed-off-by: Alina Sklarevich (cherry picked from commit eec310c99c8014a797a04376105792eb6c22a1bb) --- ompi/mca/pml/ucx/pml_ucx_request.h | 2 +- ompi/mca/pml/yalla/pml_yalla_request.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/pml/ucx/pml_ucx_request.h b/ompi/mca/pml/ucx/pml_ucx_request.h index 5aa657eccbd..616ec84d794 100644 --- a/ompi/mca/pml/ucx/pml_ucx_request.h +++ b/ompi/mca/pml/ucx/pml_ucx_request.h @@ -89,7 +89,7 @@ enum { #define PML_UCX_MESSAGE_RELEASE(_message) \ { \ ompi_message_return(*(_message)); \ - *(_message) = NULL; \ + *(_message) = MPI_MESSAGE_NULL; \ } diff --git a/ompi/mca/pml/yalla/pml_yalla_request.h b/ompi/mca/pml/yalla/pml_yalla_request.h index 6a4ed2d59a1..ff890656ef3 100644 --- a/ompi/mca/pml/yalla/pml_yalla_request.h +++ b/ompi/mca/pml/yalla/pml_yalla_request.h @@ -213,7 +213,7 @@ void mca_pml_yalla_init_reqs(void); #define PML_YALLA_MESSAGE_RELEASE(_message) \ { \ ompi_message_return(*(_message)); \ - *(_message) = NULL; \ + *(_message) = MPI_MESSAGE_NULL; \ } #endif /* PML_YALLA_REQUEST_H_ */