]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: inline TEST_TAG constants in test_loader.c
authorEduard Zingerman <eddyz87@gmail.com>
Sat, 11 Apr 2026 07:33:47 +0000 (00:33 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 11 Apr 2026 14:17:06 +0000 (07:17 -0700)
commit335a6ca04158505b94afb7271488f5052c46f5e5
tree46672190c5efa101acd9ccaedcd0ea02ac19a41a
parent713db9fd0336e8fade7e776ab807c21fd8b7a0f1
selftests/bpf: inline TEST_TAG constants in test_loader.c

After str_has_pfx() refactoring each TEST_TAG_* / TEST_BTF_PATH
constant is used exactly once. Since constant definitions are not
shared between BPF-side bpf_misc.h and userspace side test_loader.c,
there is no need in the additional redirection layer.

Acked-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Reviewed-by: Puranjay Mohan <puranjay@kernel.org>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260410-selftests-global-tags-ordering-v2-4-c566ec9781bf@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_loader.c