diff --git a/prov/mlx/src/mlx_ep.c b/prov/mlx/src/mlx_ep.c index a8250f672e2..09701f34109 100644 --- a/prov/mlx/src/mlx_ep.c +++ b/prov/mlx/src/mlx_ep.c @@ -94,6 +94,7 @@ static int mlx_ep_bind(struct fid *fid, struct fid *bfid, uint64_t flags) switch (bfid->fclass) { case FI_CLASS_CQ: + cq = container_of(bfid, struct util_cq, cq_fid.fid); status = ofi_ep_bind_cq(&ep->ep, cq, flags); break; case FI_CLASS_AV: diff --git a/prov/mlx/src/mlx_init.c b/prov/mlx/src/mlx_init.c index 36fdcd446fc..5c119c40c6a 100644 --- a/prov/mlx/src/mlx_init.c +++ b/prov/mlx/src/mlx_init.c @@ -83,7 +83,7 @@ struct fi_domain_attr mlx_domain_attrs = { .rx_ctx_cnt = 1, .max_ep_tx_ctx = 1, .max_ep_rx_ctx = 1, - .mr_cnt = FI_MLX_DEF_MR_CNT; + .mr_cnt = FI_MLX_DEF_MR_CNT, }; struct fi_rx_attr mlx_rx_attrs = { diff --git a/prov/mlx/src/mlx_tagged.c b/prov/mlx/src/mlx_tagged.c index 4f3d1abf839..c49078aebc3 100644 --- a/prov/mlx/src/mlx_tagged.c +++ b/prov/mlx/src/mlx_tagged.c @@ -39,7 +39,7 @@ static ssize_t mlx_tagged_recvmsg( uint64_t flags) { ucs_status_ptr_t status = NULL; - ucs_recv_callback_t cbf; + ucp_tag_recv_callback_t cbf; struct mlx_ep* u_ep; struct mlx_request *req; struct util_cq* cq;