aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2012-12-17 16:02:02 -0800
committerLinus Torvalds <[email protected]>2012-12-17 17:15:19 -0800
commit6b7eaf6e1428be33f731287de963862e3846cd42 (patch)
tree19628f1233f2e758cbd138d1c7a2d41701244b32 /tools/perf/scripts/python
parentd1e2ad07e78c4bbac9fce4d2e3c0fe60bce091d8 (diff)
checkpatch: find hex constants as a single IDENT
Hexadecimal values are current found in 2 parts. A hex constant like 0x123456abcdef is found as 0 and then x123456abcdef and later coalesced. Instead, reverse the order of the 2 searches in $Constant to find 0x first, then 0 so that the entire hex constant is found all at once. Signed-off-by: Joe Perches <[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')
0 files changed, 0 insertions, 0 deletions