Skip to content
Commit fa2f478a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Greentime Hu
Browse files

nds32: use get_kernel_nofault in dump_mem



Use the proper get_kernel_nofault helper to access an unsafe kernel
pointer without faulting instead of playing with set_fs and get_user.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarNick Hu <nickhu@andestech.com>
Acked-by: default avatarGreentime Hu <green.hu@gmail.com>
Signed-off-by: default avatarGreentime Hu <green.hu@gmail.com>
parent 9d63fecf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment