Re: [PATCH -next] bpf: cpumap: make some functions static

2018-01-16 Thread Daniel Borkmann
On 01/16/2018 12:27 PM, Wei Yongjun wrote: > 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 b

[PATCH -next] bpf: cpumap: make some functions static

2018-01-16 Thread Wei Yongjun
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