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

From: Stephen Rothwell
Date: Mon Dec 15 2014 - 20:41:48 EST


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).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

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);

Attachment: pgpHkAQ1KqwVD.pgp
Description: OpenPGP digital signature