diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-10-15 22:02:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 11:21:35 -0700 |
commit | 4d001e4d88a57ba8347b43e3a20412cd6b67fbd7 (patch) | |
tree | 9b329c20dd57496414b2b78bdddd9a9f5fc5dc6d /init | |
parent | 6ecd967444223cea4a02d55fdc0f0510baa69523 (diff) | |
download | linux-4d001e4d88a57ba8347b43e3a20412cd6b67fbd7.tar.gz linux-4d001e4d88a57ba8347b43e3a20412cd6b67fbd7.tar.bz2 linux-4d001e4d88a57ba8347b43e3a20412cd6b67fbd7.zip |
checkpatch: report the real first line of all suspect indents
We are currently only reporting syspect indents if the conditional is
modified but the indent missmatch could be generated by the body changing,
make sure we catch both. Also only report the first line of the body, and
more importantly make sure we report the raw copy of the line. Finally
report the indent levels to make it easier to understand what is wrong.
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 'init')
0 files changed, 0 insertions, 0 deletions