[syzbot] upstream build error (18)

From: syzbot
Date: Fri May 27 2022 - 03:14:35 EST


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@xxxxxxxxxxxxxxxxxxxxxxxxx

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 syzkaller@xxxxxxxxxxxxxxxx.

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