Skip to content

Commit

Permalink
Fix constness in osc/rdma osc_rdma_is_accel
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Mar 17, 2023
1 parent f007cea commit 20a461b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/mca/osc/rdma/osc_rdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ static inline int osc_rdma_accelerator_mem_move(void *dest, const void *src, siz
* @retval >0 The buffer belongs to a managed buffer in
* device memory.
*/
static inline int osc_rdma_is_accel(void *buf)
static inline int osc_rdma_is_accel(const void *buf)
{
int dev_id;
uint64_t flags;
Expand Down

0 comments on commit 20a461b

Please sign in to comment.