]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
checkpatch: track #ifdef/#else/#endif when tracking blocks
authorAndy Whitcroft <apw@canonical.com>
Tue, 6 Jan 2009 22:41:27 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:17 +0000 (15:59 -0800)
commit4635f4fbaf51555509c747eed02a7e7a580ae1e1
treed3d9d3d26b1c7d302c1200110c5d51b5340183f6
parent8b1b33786b06a222cf3430b1bf942a3681532104
checkpatch: track #ifdef/#else/#endif when tracking blocks

When picking up a complete statement or block for analysis we cannot
simply track open/close/etc parenthesis we must take into account
preprocessor section boundaries.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl