Re: [syzbot] [hams?] general protection fault in prepare_to_wait (2)

From: syzbot
Date: Sat Aug 19 2023 - 00:13:46 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

net/netrom/af_netrom.c:738:41: error: passing argument 1 of 'prepare_to_wait' from incompatible pointer type [-Werror=incompatible-pointer-types]
net/netrom/af_netrom.c:751:29: error: passing argument 1 of 'finish_wait' from incompatible pointer type [-Werror=incompatible-pointer-types]
net/netrom/af_netrom.c:798:33: error: passing argument 1 of 'prepare_to_wait' from incompatible pointer type [-Werror=incompatible-pointer-types]
net/netrom/af_netrom.c:816:21: error: passing argument 1 of 'finish_wait' from incompatible pointer type [-Werror=incompatible-pointer-types]


Tested on:

commit: ace0ab3a Revert "vlan: Fix VLAN 0 memory leak"
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
kernel config: https://syzkaller.appspot.com/x/.config?x=3e670757e16affb
dashboard link: https://syzkaller.appspot.com/bug?extid=666c97e4686410e79649
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=138bc6e3a80000