selftests/bpf: Correct typo in __clang_major__ macro
Subsystems (3)
PATCH 1/1 selftests/bpf: Correct typo in __clang_major__ macro
Make sure that CAN_USE_BPF_ST test (compute_live_registers/store) is enabled when __clang_major__ >= 18.
Fixes 2ea8f6a1cda7 ("selftests/bpf: test cases for compute_live_registers()")
Signed-off-by Peilin Ye <[email protected]>
--- tools/testing/selftests/bpf/progs/bpf_misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/progs/bpf_misc.h +1 -1
@@ -221,7 +221,7 @@#define CAN_USE_GOTOL #endif -#if _clang_major__ >=18 +#if __clang_major__ >=18 #define CAN_USE_BPF_ST #endif
Signature · 1 line
2.49.0.850.g28803427d3-goog
This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <[email protected]>:
Quoted 8 lines · On Fri, 25 Apr 2025 21:37:10 +0000 you wrote:
Make sure that
CAN_USE_BPF_STtest (compute_live_registers/store) is enabled when__clang_major__>= 18.Fixes 2ea8f6a1cda7 ("selftests/bpf: test cases for compute_live_registers()")Signed-off-by Peilin Ye <[email protected]>--- tools/testing/selftests/bpf/progs/bpf_misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [bpf] selftests/bpf: Correct typo in __clang_major__ macro
https://git.kernel.org/bpf/bpf/c/f0007910784a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html