From 3bb12707152d3b92133239038f01fc6358e0cfc1 Mon Sep 17 00:00:00 2001
From: yosefe <yosefe@mellanox.com>
Date: Wed, 18 Nov 2015 19:30:47 +0200
Subject: [PATCH] yalla: fix valgrind error due to uninitialized status field.

---
 ompi/mca/pml/yalla/pml_yalla_request.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ompi/mca/pml/yalla/pml_yalla_request.h b/ompi/mca/pml/yalla/pml_yalla_request.h
index 915bfe51cc..7b96024e2f 100644
--- a/ompi/mca/pml/yalla/pml_yalla_request.h
+++ b/ompi/mca/pml/yalla/pml_yalla_request.h
@@ -184,6 +184,7 @@ void mca_pml_yalla_init_reqs(void);
                 (_mpi_status)->MPI_ERROR  = OMPI_SUCCESS; \
                 break; \
             case MXM_ERR_CANCELED: \
+                (_mpi_status)->MPI_ERROR  = OMPI_SUCCESS; \
                 (_mpi_status)->_cancelled = true; \
                 break; \
             case MXM_ERR_MESSAGE_TRUNCATED: \