]> err.no Git - linux-2.6/commit
checkpatch: trailing statement indent: fix end of statement location
authorAndy Whitcroft <apw@shadowen.org>
Thu, 24 Jul 2008 04:29:01 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:25 +0000 (10:47 -0700)
commit548596d523d83dff5a670beb84be0daf4c3bcd16
treead5e7bad318a2d986f7cd3d8e540e1c240610dfe
parenta3bb97a7aba36055d476896ed6393ab35a119d5b
checkpatch: trailing statement indent: fix end of statement location

Fix end of statement location.  Where the last line of the statement is
replaced we are miss reporting the newly added replacement an incorrectly
indented trailing statement for the negative context.  We are also
incorrectly reporting negative statements generally.

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