diff --git a/ompi/mca/osc/rdma/osc_rdma.h b/ompi/mca/osc/rdma/osc_rdma.h index c17cbb4d210..8cf83991d7c 100644 --- a/ompi/mca/osc/rdma/osc_rdma.h +++ b/ompi/mca/osc/rdma/osc_rdma.h @@ -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;