]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
checkpatch: conditional indent -- labels have different indent rules
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:16 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:34 +0000 (11:21 -0700)
commit14b111c158116f02c1c862397075e28ac12d65d6
tree136c634a2edfecfb1b8f85e3abbf9023faad80c5
parent0d413866c7df63794790518e3fd5890969c206ad
checkpatch: conditional indent -- labels have different indent rules

Labels have different indent rules and must be ignored when checking the
conditional indent levels.  Also correct identify labels in single
statement conditionals.

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