diff options
| author | Joe Perches <[email protected]> | 2013-07-03 15:05:20 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 16:07:44 -0700 |
| commit | 95e2c6023b0e4c8499fb521697f79215f69135fe (patch) | |
| tree | 25eb9f42cf21e5476bbdcd4375fa71a546e0b503 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | be79794bc116fc0c264be1a599433c92ec9e34f5 (diff) | |
checkpatch: warn when using gcc's binary constant ("0b") extension
The gcc extension for binary constants that start with 0b is only
supported with gcc version 4.3 or higher.
The kernel can still be compiled with earlier versions of gcc, so have
checkpatch emit a warning for these constants.
Restructure checkpatch's constant finding code a bit to support finding
these binary constants.
Signed-off-by: Joe Perches <[email protected]>
Suggested-by: Andrew Morton <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions