diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2014-05-22 10:16:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-23 15:09:09 -0400 |
commit | ece80490e2c1cefda018b2e5b96d4f39083d9096 (patch) | |
tree | 05d399547dee0945172cb887b185edeb6bc8557a /kernel/irq_work.c | |
parent | ed616689a3d95eb6c9bdbb1ef74b0f50cbdf276a (diff) |
lib/test_bpf.c: don't use gcc union shortcut
Older gcc's (mine is gcc-4.4.4) make a mess of this.
lib/test_bpf.c:74: error: unknown field 'insns' specified in initializer
lib/test_bpf.c:75: warning: missing braces around initializer
lib/test_bpf.c:75: warning: (near initialization for 'tests[0].<anonymous>.insns[0]')
lib/test_bpf.c:76: error: extra brace group at end of initializer
lib/test_bpf.c:76: error: (near initialization for 'tests[0].<anonymous>')
lib/test_bpf.c:76: warning: excess elements in union initializer
lib/test_bpf.c:76: warning: (near initialization for 'tests[0].<anonymous>')
lib/test_bpf.c:77: error: extra brace group at end of initializer
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions