Re: upstream build error (11)

From: Dmitry Vyukov
Date: Sat Jan 09 2021 - 15:42:19 EST


On Wed, Oct 28, 2020 at 9:31 AM syzbot
<syzbot+5b0d0de84d6c65b8dd2b@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 4d09c1d9 Merge tag 'devicetree-fixes-for-5.10-1' of git://..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=1615899c500000
> kernel config: https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb
> dashboard link: https://syzkaller.appspot.com/bug?extid=5b0d0de84d6c65b8dd2b
> compiler: gcc (GCC) 10.1.0-syz 20200507
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+5b0d0de84d6c65b8dd2b@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]

Other build failures are piling behind this.

#syz fix: mm/process_vm_access: Add missing #include <linux/compat.h>