summaryrefslogtreecommitdiffstats
path: root/block/bsg-lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-20 13:44:48 +0200
committerGreentime Hu <green.hu@gmail.com>2021-02-25 14:31:49 +0800
commitfa2f478a348efa483abd4159c9f5478a3867bcc0 (patch)
tree47b069b6b4e341d94e8613add84dcc5af198cc11 /block/bsg-lib.c
parent9d63fecfcb2c7d379b6dd06892c534068a03a470 (diff)
downloadlinux-fa2f478a348efa483abd4159c9f5478a3867bcc0.tar.bz2
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: Christoph Hellwig <hch@lst.de> Acked-by: Nick Hu <nickhu@andestech.com> Acked-by: Greentime Hu <green.hu@gmail.com> Signed-off-by: Greentime Hu <green.hu@gmail.com>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions