]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: statement/block context analyser should look at sanitised lines
authorAndy Whitcroft <apw@canonical.com>
Tue, 26 Oct 2010 21:23:19 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:21 +0000 (16:52 -0700)
commit4648c969b15c64d882e487760022d8d12c04b438
tree5ba4eb55ff1b520cbbc82f5f32a7bc81c666d8da
parentbce3fd34c27e95fd80f14b800ebabf544eae50c6
checkpatch: statement/block context analyser should look at sanitised lines

When tracking context to find a block or statement we need to use the
sanitised lines, else perentheses '(' & ')' and braces '{' & '}' can throw
the scanner out.  Also fix up a couple of error outputs which include
those sanitised lines incorrectly.

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