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:
6cbb2e7
)
checkpatch: return is not a function -- parentheses for casts are ok too
author
Andy Whitcroft
<apw@shadowen.org>
Thu, 24 Jul 2008 04:28:56 +0000
(21:28 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:25 +0000
(10:47 -0700)
Casts require parentheses so it is possible to have something like this:
return (int)(*a);
This miss trips the complexity function. Ensure that the two separate
parenthesised sections are not coelesced.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl
patch
|
blob
|
history
diff --cc
scripts/checkpatch.pl
Simple merge