[syzbot] upstream build error (18)

Dmitry Vyukov dvyukov at google.com
Fri May 27 05:29:52 PDT 2022


On Fri, 27 May 2022 at 10:24, Baolin Wang <baolin.wang at linux.alibaba.com> wrote:
>
> Hi,
>
> On 5/27/2022 3:14 PM, syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit:    7e284070abe5 Merge tag 'for-5.19/dm-changes' of git://git...
> > git tree:       upstream
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1233ae81f00000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=854cea6cbaeb1d1b
> > dashboard link: https://syzkaller.appspot.com/bug?extid=a0b95614aef2afe9e488
> > compiler:       aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> > userspace arch: arm64
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+a0b95614aef2afe9e488 at syzkaller.appspotmail.com
> >
> > arch/arm64/mm/hugetlbpage.c:515:9: error: implicit declaration of function 'get_clear_flush'; did you mean 'ptep_clear_flush'? [-Werror=implicit-function-declaration]
> > arch/arm64/mm/hugetlbpage.c:515:9: error: incompatible types when returning type 'int' but 'pte_t' was expected
> > arch/arm64/mm/hugetlbpage.c:516:1: error: control reaches end of non-void function [-Werror=return-type]
>
> I've sent out a fix patch [1], please try it. Thanks.
>
> [1]
> https://lore.kernel.org/all/814e20c19b110209ee12ecae7cb05f8a78d021c8.1653625820.git.baolin.wang@linux.alibaba.com/

Let's tell syzbot about the fix:

#syz fix: arm64/hugetlb: Fix building errors in huge_ptep_clear_flush()



More information about the linux-arm-kernel mailing list