diff options
| author | Andrii Nakryiko <[email protected]> | 2021-10-22 22:32:25 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-10-25 21:45:45 +0000 |
| commit | 6972dc3b8778ce0d9ce819c6f1e3d32ce2bc3dd9 (patch) | |
| tree | 1714331fc5d41d93b49ef2fa65741797be1d0e51 /tools/testing/selftests/bpf/prog_tests/btf_dump.c | |
| parent | libbpf: Fix BTF header parsing checks (diff) | |
| download | kernel-6972dc3b8778ce0d9ce819c6f1e3d32ce2bc3dd9.tar.gz kernel-6972dc3b8778ce0d9ce819c6f1e3d32ce2bc3dd9.zip | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/btf_dump.c')
| -rw-r--r-- | tools/testing/selftests/bpf/prog_tests/btf_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/btf_dump.c b/tools/testing/selftests/bpf/prog_tests/btf_dump.c index 3d837a7019fd..aa76360d8f49 100644 --- a/tools/testing/selftests/bpf/prog_tests/btf_dump.c +++ b/tools/testing/selftests/bpf/prog_tests/btf_dump.c @@ -133,7 +133,7 @@ static char *dump_buf; static size_t dump_buf_sz; static FILE *dump_buf_file; -void test_btf_dump_incremental(void) +static void test_btf_dump_incremental(void) { struct btf *btf = NULL; struct btf_dump *d = NULL; |
