]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: suspect indent -- skip over preprocessor, label and blank lines
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:22 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:35 +0000 (11:21 -0700)
commitb28da8a72fd1a09049ce0005477baa80426131c6
treed768c2adcefd444c0bd8742ce8246e131be32a47
parent4b115dc4b1bb58db114d93ff3875f6d1a56732fc
checkpatch: suspect indent -- skip over preprocessor, label and blank lines

We should skip over and check the lines which follow preprocessor
statements, labels, and blank lines.  These all have legitimate reasons to
be indented differently.

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