Skip to content

Commit 5fcfe82

Browse files
committed
osc/rdma: fix compile warning
Signed-off-by: Nathan Hjelm <[email protected]> (cherry picked from commit 032bcf9) Signed-off-by: Nathan Hjelm <[email protected]>
1 parent cd8272b commit 5fcfe82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/osc/rdma/osc_rdma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ static inline void ompi_osc_rdma_aggregation_return (ompi_osc_rdma_aggregation_t
506506

507507

508508
__opal_attribute_always_inline__
509-
static bool ompi_osc_rdma_oor (int rc)
509+
static inline bool ompi_osc_rdma_oor (int rc)
510510
{
511511
/* check for OPAL_SUCCESS first to short-circuit the statement in the common case */
512512
return (OPAL_SUCCESS != rc && (OPAL_ERR_OUT_OF_RESOURCE == rc || OPAL_ERR_TEMP_OUT_OF_RESOURCE == rc));

0 commit comments

Comments
 (0)