From: Yuval Shaia <yuval.shaia@xxxxxxxxxx> No special handling in for object cloning, utilize the trivial implementation. Signed-off-by: Yuval Shaia <yuval.shaia@xxxxxxxxxx> --- drivers/infiniband/hw/mlx5/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index f16820eba83e..37b7b99deb7e 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -6315,6 +6315,7 @@ static const struct ib_device_ops mlx5_ib_dev_ops = { /* Object sharing callbacks */ .clone_ib_pd = mlx5_ib_clone_pd, + .clone_ib_mr = trivial_clone_ib_mr, INIT_RDMA_OBJ_SIZE(ib_ah, mlx5_ib_ah, ibah), INIT_RDMA_OBJ_SIZE(ib_cq, mlx5_ib_cq, ibcq), -- 2.20.1