]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Remove test_access_variable_array
authorVenkat Rao Bagalkote <venkat88@linux.ibm.com>
Fri, 10 Apr 2026 10:54:04 +0000 (16:24 +0530)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 10 Apr 2026 19:32:53 +0000 (12:32 -0700)
commitaacee214d57636fa1f63007c65f333b5ea75a7a0
treebbd1b14a95f5ef566efaacebfb500daf3128d3af
parent4406942e65ca128c56c67443832988873c21d2e9
selftests/bpf: Remove test_access_variable_array

test_access_variable_array relied on accessing struct sched_domain::span
to validate variable-length array handling via BTF. Recent scheduler
refactoring removed or hid this field, causing the test
to fail to build.

Given that this test depends on internal scheduler structures that are
subject to refactoring, and equivalent variable-length array coverage
already exists via bpf_testmod-based tests, remove
test_access_variable_array entirely.

Link: https://lore.kernel.org/all/177434340048.1647592.8586759362906719839.tip-bot2@tip-bot2/
Signed-off-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Tested-by: Naveen Kumar Thummalapenta <naveen66@linux.ibm.com>
Link: https://lore.kernel.org/r/20260410105404.91126-1-venkat88@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/access_variable_array.c [deleted file]
tools/testing/selftests/bpf/progs/test_access_variable_array.c [deleted file]