Re: [PATCH] m68k: use get_kernel_nofault in show_registers

From: Geert Uytterhoeven
Date: Wed Aug 26 2020 - 07:30:41 EST


On Mon, Jul 20, 2020 at 1:43 PM Christoph Hellwig <hch@xxxxxx> wrote:
> 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@xxxxxx>

Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
i.e. applied, and queued in the m68k for-v5.10 branch.

Gr{oetje,eeting}s,

Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds