Hello: This patch was applied to bpf/bpf.git (master) by Andrii Nakryiko <andrii@xxxxxxxxxx>: On Tue, 3 Dec 2024 10:22:22 -0800 you wrote: > Commit [0] breaks samples/bpf build: > > $ make M=samples/bpf > ... > make -C /path/to/kernel/samples/bpf/../../tools/lib/bpf \ > ... > EXTRA_CFLAGS=" \ > ... > -fsanitize=bounds \ > -I/path/to/kernel/usr/include \ > ... > /path/to/kernel/samples/bpf/libbpf/libbpf.a install_headers > CC /path/to/kernel/samples/bpf/libbpf/staticobjs/libbpf.o > In file included from libbpf.c:29: > /path/to/kernel/tools/include/linux/err.h:35:8: error: 'inline' can only appear on functions > 35 | static inline void * __must_check ERR_PTR(long error_) > | ^ > > [...] Here is the summary with links: - [bpf,v3] samples/bpf: remove unnecessary -I flags from libbpf EXTRA_CFLAGS https://git.kernel.org/bpf/bpf/c/5a6ea7022ff4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html