diff options
author | Joe Perches <joe@perches.com> | 2013-07-03 15:05:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:45 -0700 |
commit | 179f8f40fc3ae7cd49e96b3a7d5182166c36bdab (patch) | |
tree | b2660986886bf926f82efd7960b40db57c0f350c /scripts/.gitignore | |
parent | 77b9a53a627491df83a75361440485629c35aa91 (diff) | |
download | blackbird-op-linux-179f8f40fc3ae7cd49e96b3a7d5182166c36bdab.tar.gz blackbird-op-linux-179f8f40fc3ae7cd49e96b3a7d5182166c36bdab.zip |
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 <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/.gitignore')
0 files changed, 0 insertions, 0 deletions