Skip to contentSkip to conversation

linux-next: manual merge of the infiniband tree with Linus' tree

DISCUSSION Stephen Rothwell 1 participant 1 message Dec 16, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the infiniband tree got a conflict in drivers/infiniband/hw/mlx5/mr.c between commit 479163f46082 ("mlx5:
don't duplicate kvfree()") from Linus' tree and commit 89c925949c1f ("IB/mlx5: Implement on demand paging by adding support for MMU notifiers") from the infiniband tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 16 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc drivers/infiniband/hw/mlx5/mr.c
index 5a80dd993761,a2dd7bfc129b..000000000000
--- a/drivers/infiniband/hw/mlx5/mr.c
+++ b/drivers/infiniband/hw/mlx5/mr.c
@@@ -856,7 -1009,8 +1012,8 @@@ static struct mlx5_ib_mr *reg_create(st
  		goto err_2;
  	}
  	mr->umem = umem;
+ 	mr->live = 1;
 -	mlx5_vfree(in);
 +	kvfree(in);
  
  	mlx5_ib_dbg(dev, "mkey = 0x%x\n", mr->mmr.key);