Re: linux-next: build failure after merge of the bpf-next tree
From: Alexei Starovoitov
Date: Wed Feb 27 2019 - 21:19:48 EST
On Wed, Feb 27, 2019 at 5:31 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the bpf-next tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> kernel/sysctl.c:1238:13: error: 'sysctl_bpf_stats_enabled' undeclared here (not in a function); did you mean 'sysctl_base_table'?
> .data = &sysctl_bpf_stats_enabled,
> ^~~~~~~~~~~~~~~~~~~~~~~~
> sysctl_base_table
>
> Caused by commit
>
> 492ecee892c2 ("bpf: enable program stats")
>
> CONFIG_BPF=y
> # CONFIG_BPF_SYSCALL is not set
>
> I applied the following patch for today, but it should be done
> properly. Also this patch leaves proc_dointvec_minmax_bpf_stats() as an
> unused function.
thanks for the report.
working on the fix.