aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2013-07-03 15:05:30 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:07:45 -0700
commit179f8f40fc3ae7cd49e96b3a7d5182166c36bdab (patch)
treeb2660986886bf926f82efd7960b40db57c0f350c /tools/perf/scripts/python
parent77b9a53a627491df83a75361440485629c35aa91 (diff)
checkpatch: add a --strict test for comparison to true/false
Comparing to true or false is error prone. Add tests for the various forms of (foo == true) && (false != bar) that are only reported with --strict. Signed-off-by: Joe Perches <[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