diff options
author | Jiri Olsa <[email protected]> | 2023-06-07 15:40:46 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-06-08 13:26:12 +0200 |
commit | 67faabbde36b7dc006cb0a71811098e7277976d0 (patch) | |
tree | 398cc28b3d04c07d8bb09a5bf0305b4c2355c6d8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | aa7881fcfe9d328484265d589bc2785533e33c4d (diff) |
selftests/bpf: Add missing prototypes for several test kfuncs
Adding missing prototypes for several kfuncs that are used by
test_verifier tests. We don't really need kfunc prototypes for
these tests, but adding them to silence 'make W=1' build and
to have all test kfuncs declarations in bpf_testmod_kfunc.h.
Also moving __diag_pop for -Wmissing-prototypes to cover also
bpf_testmod_test_write and bpf_testmod_test_read and adding
bpf_fentry_shadow_test in there as well. All of them need to
be exported, but there's no need for declarations.
Fixes: 65eb006d85a2 ("bpf: Move kernel test kfuncs to bpf_testmod")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions