Re: [PATCH bpf-next v2] selftests/bpf: Remove unused arch macros in bpf_misc.h

From: patchwork-bot+netdevbpf

Date: Sat Dec 05 2026 - 02:20:18 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Thu, 3 Dec 2026 20:21:08 +0800 you wrote:
> The header progs/bpf_misc.h is only meant to be included by BPF programs
> compiled for the BPF target, where architecture macros are not predefined
> by the compiler.
>
> Instead, the build system explicitly passes -D__TARGET_ARCH_$(SRCARCH) via
> BPF_CFLAGS in Makefile.buildvars, where $(SRCARCH) is "x86" for 32-bit and
> 64-bit x86.
>
> [...]

Here is the summary with links:
- [bpf-next,v2] selftests/bpf: Remove unused arch macros in bpf_misc.h
https://git.kernel.org/bpf/bpf-next/c/653033585181

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html