diff options
author | 2021-12-10 22:16:50 +0800 | |
---|---|---|
committer | 2021-12-11 17:40:23 -0800 | |
commit | 9a93bf3fda3d03762868b1424e898395ffc71575 (patch) | |
tree | 9d1cb3f2255cb5f28cfbaaf8f4fd3213e9853608 /tools/testing/selftests/bpf/prog_tests | |
parent | bpf: Add bpf_strncmp helper (diff) | |
download | linux-dev-9a93bf3fda3d03762868b1424e898395ffc71575.tar.xz linux-dev-9a93bf3fda3d03762868b1424e898395ffc71575.zip |
selftests/bpf: Fix checkpatch error on empty function parameter
Fix checkpatch error: "ERROR: Bad function definition - void foo()
should probably be void foo(void)". Most replacements are done by
the following command:
sed -i 's#\([a-z]\)()$#\1(void)#g' testing/selftests/bpf/benchs/*.c
Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211210141652.877186-3-houtao1@huawei.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions