git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b9a53
)
checkpatch: add a --strict test for comparison to true/false
author
Joe Perches
<joe@perches.com>
Wed, 3 Jul 2013 22:05:30 +0000
(15:05 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:45 +0000
(16:07 -0700)
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>
No differences found