summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-05-22 10:16:46 -0700
committerDavid S. Miller <davem@davemloft.net>2014-05-23 15:09:09 -0400
commitece80490e2c1cefda018b2e5b96d4f39083d9096 (patch)
tree05d399547dee0945172cb887b185edeb6bc8557a /mm
parented616689a3d95eb6c9bdbb1ef74b0f50cbdf276a (diff)
downloadop-kernel-dev-ece80490e2c1cefda018b2e5b96d4f39083d9096.zip
op-kernel-dev-ece80490e2c1cefda018b2e5b96d4f39083d9096.tar.gz
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 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud