diff options
author | Andy Whitcroft <[email protected]> | 2010-10-26 14:23:13 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-10-26 16:52:20 -0700 |
commit | 9446ef569c288e683225fec8337a0b2b81e75cc5 (patch) | |
tree | a46d6265a77f637f882c9136c914483b5d4598d8 /tools/perf/util/trace-event-scripting.c | |
parent | fb2d2c1b5825503d30fb6f2dc328dbe4a47d9794 (diff) |
checkpatch: handle casts better fixing false categorisation of : as binary
The following incantation is triggering categorisation of its colon (:) as
a binary form, which it is not:
return foo ? (s8)bar : baz;
Handle casts differently from types in the categoriser, allowing us to
better track (s8)bar as a value and not a declaration.
Reported-by: Jean Delvare <[email protected]>
Signed-off-by: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions