Skip to content

Commit dbf2cef

Browse files
committed
Correctly return error codes in get_dynamic_win_info()
Signed-off-by: Shumpei Shiina <[email protected]>
1 parent 11b872c commit dbf2cef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ompi/mca/osc/ucx/osc_ucx_comm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,9 @@ static inline int get_dynamic_win_info(uint64_t remote_addr,
358358
free(temp_buf);
359359

360360
/* unlock the dynamic lock */
361-
return ompi_osc_ucx_dynamic_unlock(module, target);
361+
ompi_osc_ucx_dynamic_unlock(module, target);
362+
363+
return ret;
362364
}
363365

364366
static inline

0 commit comments

Comments
 (0)