[syzbot] upstream build error (18)

7 views
Skip to first unread message

syzbot

unread,
May 27, 2022, 3:14:18 AM5/27/22
to anshuman...@arm.com, baoli...@linux.alibaba.com, catalin...@arm.com, linux-ar...@lists.infradead.org, linux-...@vger.kernel.org, mike.k...@oracle.com, songm...@bytedance.com, syzkall...@googlegroups.com, wi...@kernel.org
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+a0b956...@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]

---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

Baolin Wang

unread,
May 27, 2022, 4:24:38 AM5/27/22
to syzbot, anshuman...@arm.com, catalin...@arm.com, linux-ar...@lists.infradead.org, linux-...@vger.kernel.org, mike.k...@oracle.com, songm...@bytedance.com, syzkall...@googlegroups.com, wi...@kernel.org
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+a0b956...@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/814e20c19b110209ee12ecae7cb05f8a7...@linux.alibaba.com/

Dmitry Vyukov

unread,
May 27, 2022, 8:30:05 AM5/27/22
to Baolin Wang, syzbot, anshuman...@arm.com, catalin...@arm.com, linux-ar...@lists.infradead.org, linux-...@vger.kernel.org, mike.k...@oracle.com, songm...@bytedance.com, syzkall...@googlegroups.com, wi...@kernel.org
Let's tell syzbot about the fix:

#syz fix: arm64/hugetlb: Fix building errors in huge_ptep_clear_flush()
Reply all
Reply to author
Forward
0 new messages