Re: [PATCH] mm/process_vm_access: Add missing #include <linux/compat.h>

From: Jens Axboe
Date: Tue Oct 27 2020 - 15:33:27 EST


On 10/27/20 12:22 PM, Geert Uytterhoeven wrote:
> With e.g. m68k/defconfig:
>
> mm/process_vm_access.c: In function ‘process_vm_rw’:
> mm/process_vm_access.c:277:5: error: implicit declaration of function ‘in_compat_syscall’ [-Werror=implicit-function-declaration]
> 277 | in_compat_syscall());
> | ^~~~~~~~~~~~~~~~~
>
> Fix this by adding #include <linux/compat.h>.

Oversight on my part, didn't fail on my configs. Linus, can you pick
this one up?

Acked-by: Jens Axboe <axboe@xxxxxxxxx>

--
Jens Axboe