summaryrefslogtreecommitdiff
path: root/scripts/cleanfile
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2008-07-23 21:29:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:25 -0700
commita3bb97a7aba36055d476896ed6393ab35a119d5b (patch)
tree9d09ae6cfc89e72078ccf7f436fdfa7cd33a7519 /scripts/cleanfile
parent6ef9b297f6e8850da3be9c9ff5f00385c0977004 (diff)
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 <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions