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: NChristoph Hellwig <hch@lst.de> Acked-by: NNick Hu <nickhu@andestech.com> Acked-by: NGreentime Hu <green.hu@gmail.com> Signed-off-by: NGreentime Hu <green.hu@gmail.com>
Showing
想要评论请 注册 或 登录