Subject: Re: [syzbot] bpf build error (3)

From: Nathan Chancellor <[email-masked]>
Date: Thu, 2 Sep 2021 15:40:11 -0700

Hi Daniel,

On Thu, Sep 02, 2021 at 11:46:21PM +0200, Daniel Borkmann wrote:
> On 9/2/21 7:34 PM, syzbot wrote:
> > Hello,
> > 
> > syzbot found the following issue on:
> > 
> > HEAD commit:    49ca6153208f bpf: Relicense disassembler as GPL-2.0-only O..
> > git tree:       bpf
> > console output: https://syzkaller.appspot.com/x/log.txt?x=17835513300000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=bd61edfef9fa14b1
> > dashboard link: https://syzkaller.appspot.com/bug?extid=8a8ba69ec56c60331e1f
> > 
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: [email-masked]
> > 
> > arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration]
> > arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration]
> > arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration]
> > arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration]
> > arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration]
> 
> See also Stephen's recent report:
> 
>   https://lore.kernel.org/lkml/[email-masked]/
> 
> Maurizio/Konrad, did you have a chance to take a look?

This is fixed as commit ea7b4244b365 ("x86/setup: Explicitly include
acpi.h") in Linus's tree.

Cheers,
Nathan