From: Majd Dibbiny Date: Tue, 6 Jan 2015 11:56:01 +0000 (+0200) Subject: IB/mlx5: Update the dev in reg_create X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~15^2^7~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eae20db6adf721d0c14ad2a37208278ce4f11dc;p=pandora-kernel.git IB/mlx5: Update the dev in reg_create When we create an MR using reg_create, the mlx5_ib_dev pointer is not updated on the new MR. This results in a kernel panics for ODP MRs while handling page faults, when the mlx5_ib_update_mtt function uses the invalid device pointer. Signed-off-by: Majd Dibbiny Signed-off-by: Haggai Eran Signed-off-by: Roland Dreier --- Reading git-diff-tree failed