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:
14b111c
)
checkpatch: switch indent allow plain return
author
Andy Whitcroft
<apw@shadowen.org>
Thu, 16 Oct 2008 05:02:17 +0000
(22:02 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:34 +0000
(11:21 -0700)
It is a common and sane idiom to allow a single return on the end of a
case statement:
switch (...) {
case foo: return bar;
}
Add an exception for this.
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>
No differences found