]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/trace/bpf_trace.c: work around gcc-4.4.4 anon union initialization bug
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 18 Jul 2016 22:50:58 +0000 (15:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 02:27:01 +0000 (19:27 -0700)
commitc094a514a3bc2e00a5d2092612abb59291e3cda4
treee18fa01b3097c5e2d699838098fe7e4d453d296e
parent551aafd4f5ed7cbfa502e3592971f91f9d18dbfc
kernel/trace/bpf_trace.c: work around gcc-4.4.4 anon union initialization bug

kernel/trace/bpf_trace.c: In function 'bpf_event_output':
kernel/trace/bpf_trace.c:312: error: unknown field 'next' specified in initializer
kernel/trace/bpf_trace.c:312: warning: missing braces around initializer
kernel/trace/bpf_trace.c:312: warning: (near initialization for 'raw.frag.<anonymous>')

Fixes: c9a1832b66cb3b2 ("bpf: avoid stack copy and use skb ctx for event output")
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/trace/bpf_trace.c