diff options
author | Jason Xing <kernelxing@tencent.com> | 2024-04-06 22:46:13 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-04-08 16:31:18 -0700 |
commit | bb761fcb821738e8d3b720e1460d3783db74c68a (patch) | |
tree | 0e5f7a99764b05e0ef868abce7a5f4889480abcd /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | 50408d7abea68e2d1ae3a9328e1a468b7089b11c (diff) | |
download | linux-bb761fcb821738e8d3b720e1460d3783db74c68a.tar.gz linux-bb761fcb821738e8d3b720e1460d3783db74c68a.tar.bz2 linux-bb761fcb821738e8d3b720e1460d3783db74c68a.zip |
selftests/bpf: eliminate warning of get_cgroup_id_from_path()
The output goes like this if I make samples/bpf:
...warning: no previous prototype for ‘get_cgroup_id_from_path’...
Make this function static could solve the warning problem since
no one outside of the file calls it.
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240406144613.4434-1-kerneljasonxing@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions