diff options
author | Matthias Kaehlcke <[email protected]> | 2017-10-30 12:43:51 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-10-31 10:54:30 +0100 |
commit | 6c3b56b1973083e2bb4e87eb90ea5368455706dc (patch) | |
tree | 8a282d7b0a2d0cb21c54ed8dce80d916e53a3114 /tools/perf/util/trace-event-scripting.c | |
parent | dc0fdf7d2bf9e7efdc690b8a594e39de5b3a993b (diff) |
x86/boot: Disable Clang warnings about GNU extensions
The kernel makes use of several GCC extensions, disable Clang warnings
about that in the boot code, as we already do for the rest of the kernel.
This suppresses the following warning when building with clang:
./include/linux/cgroup-defs.h:391:16: warning: field 'cgrp' with variable sized type 'struct cgroup' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
struct cgroup cgrp;
Reported-by: Nick Desaulniers <[email protected]>
Signed-off-by: Matthias Kaehlcke <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Douglas Anderson <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions