MLK-14642 imx: sim: fix segment fault caused by user address access
authorGao Pan <pandy.gao@nxp.com>
Thu, 13 Apr 2017 06:58:03 +0000 (14:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:53 +0000 (15:21 -0500)
commit4938b26bafdabfde7eebbe9c98313bc490a0ceb4
tree8cd2f313db1392964daab375a86e85f4501391f0
parent483f6ce7bff723ecef8dc095cde705876f014837
MLK-14642 imx: sim: fix segment fault caused by user address access

Kernel space cannot access user space memory directly.
In fact, the issue always exited. Since 4.4, the kernel
handle the action as page abort.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/mxc/sim/imx_sim.c