diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-23 21:29:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:25 -0700 |
commit | a3bb97a7aba36055d476896ed6393ab35a119d5b (patch) | |
tree | 9d09ae6cfc89e72078ccf7f436fdfa7cd33a7519 /scripts/decodecode | |
parent | 6ef9b297f6e8850da3be9c9ff5f00385c0977004 (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/decodecode')
0 files changed, 0 insertions, 0 deletions