]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Normalize selftest entry points
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 22 Oct 2021 22:32:25 +0000 (15:32 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Oct 2021 21:45:45 +0000 (14:45 -0700)
commit2d2012ed9d15af96cd6c2c7f483fd0d9c3bf6548
tree1714331fc5d41d93b49ef2fa65741797be1d0e51
parent7185884cf418819cdd2c5fa998daa12f3f8be593
selftests/bpf: Normalize selftest entry points

Ensure that all test entry points are global void functions with no
input arguments. Mark few subtest entry points as static.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211022223228.99920-2-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/btf_dump.c
tools/testing/selftests/bpf/prog_tests/resolve_btfids.c
tools/testing/selftests/bpf/prog_tests/signal_pending.c
tools/testing/selftests/bpf/prog_tests/snprintf.c
tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c
tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c