aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp_monitor_kern.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-16 11:27:05 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-17 00:12:58 +0100
commit0fe875c5c7bc67072b629f13cf1ededcb4da4fb2 (patch)
treed06c749bb4fdcb9d9c11722c18dc13588c2d01bb /samples/bpf/xdp_monitor_kern.c
parentbpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs (diff)
downloadlinux-dev-0fe875c5c7bc67072b629f13cf1ededcb4da4fb2.tar.xz
linux-dev-0fe875c5c7bc67072b629f13cf1ededcb4da4fb2.zip
bpf: cpumap: make some functions static
Fixes the following sparse warnings: kernel/bpf/cpumap.c:146:6: warning: symbol '__cpu_map_queue_destructor' was not declared. Should it be static? kernel/bpf/cpumap.c:225:16: warning: symbol 'cpu_map_build_skb' was not declared. Should it be static? kernel/bpf/cpumap.c:340:26: warning: symbol '__cpu_map_entry_alloc' was not declared. Should it be static? kernel/bpf/cpumap.c:398:6: warning: symbol '__cpu_map_entry_free' was not declared. Should it be static? kernel/bpf/cpumap.c:441:6: warning: symbol '__cpu_map_entry_replace' was not declared. Should it be static? kernel/bpf/cpumap.c:454:5: warning: symbol 'cpu_map_delete_elem' was not declared. Should it be static? kernel/bpf/cpumap.c:467:5: warning: symbol 'cpu_map_update_elem' was not declared. Should it be static? kernel/bpf/cpumap.c:505:6: warning: symbol 'cpu_map_free' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdp_monitor_kern.c')
0 files changed, 0 insertions, 0 deletions