From: Andy Whitcroft Date: Thu, 24 Jul 2008 04:29:00 +0000 (-0700) Subject: checkpatch: macros: fix statement counting block end detection X-Git-Tag: v2.6.27-rc1~711 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3bb97a7aba36055d476896ed6393ab35a119d5b;p=pandora-kernel.git checkpatch: macros: fix statement counting block end detection We are incorrectly counting the lines in a block while accumulating the trailing lines in a macro statement, leading to false positives. Fix end of block handling and general counting for negative context lines. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed