diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mr.c')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/mr.c b/drivers/infiniband/hw/mlx5/mr.c index 32a28bd50b20..cd9822eeacae 100644 --- a/drivers/infiniband/hw/mlx5/mr.c +++ b/drivers/infiniband/hw/mlx5/mr.c | |||
@@ -1012,6 +1012,7 @@ static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, u64 virt_addr, | |||
1012 | goto err_2; | 1012 | goto err_2; |
1013 | } | 1013 | } |
1014 | mr->umem = umem; | 1014 | mr->umem = umem; |
1015 | mr->dev = dev; | ||
1015 | mr->live = 1; | 1016 | mr->live = 1; |
1016 | kvfree(in); | 1017 | kvfree(in); |
1017 | 1018 | ||