kernel/trace/bpf_trace.c: work around gcc-4.4.4 anon union initialization bug
[deliverable/linux.git] / kernel / trace / bpf_trace.c
index ebfbb7dd70330ed40dddf697c88d83dcef1801d1..a12bbd32c0a64ebe42689b411928709189df5b07 100644 (file)
@@ -309,7 +309,9 @@ u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size,
        };
        struct perf_raw_record raw = {
                .frag = {
-                       .next   = ctx_size ? &frag : NULL,
+                       {
+                               .next   = ctx_size ? &frag : NULL,
+                       },
                        .size   = meta_size,
                        .data   = meta,
                },
This page took 0.024396 seconds and 5 git commands to generate.