diff options
| author | Kui-Feng Lee <[email protected]> | 2024-02-04 06:12:04 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-02-05 18:52:38 +0000 |
| commit | 169e650069647325496e5a65408ff301874c8e01 (patch) | |
| tree | 1ccdd32f79d639cd3cdf9b86c50debd1a864df24 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | selftests/bpf: Fix flaky test ptr_untrusted (diff) | |
| download | kernel-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/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
