Re: [PATCH bpf-next] bpf: fix compiler warning with CONFIG_MODULES=n

2019-06-26 Thread Daniel Borkmann
On 06/26/2019 02:35 AM, Yonghong Song wrote: > With CONFIG_MODULES=n, the following compiler warning occurs: > /data/users/yhs/work/net-next/kernel/trace/bpf_trace.c:605:13: warning: > ‘do_bpf_send_signal’ defined but not used [-Wunused-function] > static void do_bpf_send_signal(struct ir

Re: [PATCH bpf-next] bpf: fix compiler warning with CONFIG_MODULES=n

2019-06-25 Thread Song Liu
> On Jun 25, 2019, at 5:35 PM, Yonghong Song wrote: > > With CONFIG_MODULES=n, the following compiler warning occurs: > /data/users/yhs/work/net-next/kernel/trace/bpf_trace.c:605:13: warning: > ‘do_bpf_send_signal’ defined but not used [-Wunused-function] > static void do_bpf_send_signal

[PATCH bpf-next] bpf: fix compiler warning with CONFIG_MODULES=n

2019-06-25 Thread Yonghong Song
With CONFIG_MODULES=n, the following compiler warning occurs: /data/users/yhs/work/net-next/kernel/trace/bpf_trace.c:605:13: warning: ‘do_bpf_send_signal’ defined but not used [-Wunused-function] static void do_bpf_send_signal(struct irq_work *entry) The __init function send_signal_irq_w