1
1

Merge pull request #411 from miked-mellanox/topic/fix_cov

coverity fixes for yalla
Этот коммит содержится в:
Mike Dubman 2015-02-23 12:01:05 +02:00
родитель 6b8f9d68e8 00d416ba9d
Коммит e02121af6f

Просмотреть файл

@ -522,7 +522,7 @@ int mca_pml_yalla_probe(int src, int tag, struct ompi_communicator_t* comm,
PML_YALLA_SET_RECV_STATUS(&rreq, rreq.completion.sender_len, status); PML_YALLA_SET_RECV_STATUS(&rreq, rreq.completion.sender_len, status);
return OMPI_SUCCESS; return OMPI_SUCCESS;
case MXM_ERR_NO_MESSAGE: case MXM_ERR_NO_MESSAGE:
continue; break;
default: default:
return OMPI_ERROR; return OMPI_ERROR;
} }
@ -575,14 +575,13 @@ int mca_pml_yalla_mprobe(int src, int tag, struct ompi_communicator_t* comm,
PML_YALLA_SET_MESSAGE(&rreq, comm, mxm_msg, message); PML_YALLA_SET_MESSAGE(&rreq, comm, mxm_msg, message);
return OMPI_SUCCESS; return OMPI_SUCCESS;
case MXM_ERR_NO_MESSAGE: case MXM_ERR_NO_MESSAGE:
continue; break;
default: default:
return OMPI_ERROR; return OMPI_ERROR;
} }
opal_progress(); opal_progress();
} }
return OMPI_SUCCESS;
} }
int mca_pml_yalla_imrecv(void *buf, size_t count, ompi_datatype_t *datatype, int mca_pml_yalla_imrecv(void *buf, size_t count, ompi_datatype_t *datatype,