aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorKui-Feng Lee <[email protected]>2024-02-04 06:12:04 +0000
committerMartin KaFai Lau <[email protected]>2024-02-05 18:52:38 +0000
commit169e650069647325496e5a65408ff301874c8e01 (patch)
tree1ccdd32f79d639cd3cdf9b86c50debd1a864df24 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentselftests/bpf: Fix flaky test ptr_untrusted (diff)
downloadkernel-169e650069647325496e5a65408ff301874c8e01.tar.gz
kernel-169e650069647325496e5a65408ff301874c8e01.zip
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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Kui-Feng Lee <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions