summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2024-02-04 09:12:04 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2024-02-05 21:52:38 +0300
commit169e650069647325496e5a65408ff301874c8e01 (patch)
tree1ccdd32f79d639cd3cdf9b86c50debd1a864df24 /tools/testing/selftests/bpf/prog_tests
parent7e428638bd784fd9e8944bfbf11513520e141b91 (diff)
downloadlinux-169e650069647325496e5a65408ff301874c8e01.tar.xz
selftests/bpf: Suppress warning message of an unused variable.
"r" is used to receive the return value of test_2 in bpf_testmod.c, but it is not actually used. So, we remove "r" and change the return type to "void". Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202401300557.z5vzn8FM-lkp@intel.com/ Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> Acked-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20240204061204.1864529-1-thinker.li@gmail.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions