selftests/bpf: Fix compiler warnings in bpf_testmod for kfuncs
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 12 Apr 2023 03:46:47 +0000 (20:46 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 13 Apr 2023 12:54:45 +0000 (14:54 +0200)
commit4099be372faf7b3616634dfe6994b81b1edf1906
tree5eb1a819017e649c8d7fe59dd55222c0aae0a774
parent0c5f48599bed55c13d6f979ea824554bdebdf2ad
selftests/bpf: Fix compiler warnings in bpf_testmod for kfuncs

Add -Wmissing-prototypes ignore in bpf_testmod.c, similarly to what we
do in kernel code proper.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/oe-kbuild-all/202304080951.l14IDv3n-lkp@intel.com/
Link: https://lore.kernel.org/bpf/20230412034647.3968143-1-andrii@kernel.org
tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c