Skip to content

Commit

Permalink
Correctly return error codes in get_dynamic_win_info()
Browse files Browse the repository at this point in the history
Signed-off-by: Shumpei Shiina <[email protected]>
  • Loading branch information
s417-lama committed Nov 21, 2022
1 parent dd7cbdd commit d57a39f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ompi/mca/osc/ucx/osc_ucx_comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,9 @@ static inline int get_dynamic_win_info(uint64_t remote_addr,
free(temp_buf);

/* unlock the dynamic lock */
return ompi_osc_ucx_dynamic_unlock(module, target);
ompi_osc_ucx_dynamic_unlock(module, target);

return ret;
}

static inline
Expand Down

0 comments on commit d57a39f

Please sign in to comment.