Re: linux-next: build failure after merge of the bpf-next tree
From: Alexei Starovoitov
Date: Tue May 26 2026 - 18:09:33 EST
On Tue, May 26, 2026 at 5:13 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the bpf-next tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> /tmp/next/build/kernel/bpf/core.c:3379:13: error: redefinition of
> 'bpf_arena_handle_page_fault'
> 3379 | __weak bool bpf_arena_handle_page_fault(unsigned long addr, bool is_write,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /tmp/next/build/include/linux/bpf.h:9,
> from /tmp/next/build/include/linux/filter.h:9,
> from /tmp/next/build/kernel/bpf/core.c:21:
> /tmp/next/build/include/linux/bpf_defs.h:12:20: note: previous definition
> of 'bpf_arena_handle_page_fault' with type 'bool(long unsigned int,
> bool, long unsigned int)' {aka '_Bool(long unsigned int, _Bool, long
> unsigned int)'}
> 12 | static inline bool bpf_arena_handle_page_fault(unsigned long addr, bool is_write,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> dc11a4dba2464 (bpf: Recover arena kernel faults with scratch page)
Tejun,
thoughts on the best way to fix it ?
Pls send it to bpf-next. I think it's fine for it to be in one tree only.