diff options
author | Joe Perches <joe@perches.com> | 2015-09-10 00:37:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 22:29:01 +0200 |
commit | 9f5af480f4554aac12e002b6f5c2b04895857700 (patch) | |
tree | a4c8826093272ba4bc1b28f84aa8b83024314129 /Documentation/mic | |
parent | checkpatch: add warning on BUG/BUG_ON use (diff) | |
download | linux-9f5af480f4554aac12e002b6f5c2b04895857700.tar.xz linux-9f5af480f4554aac12e002b6f5c2b04895857700.zip |
checkpatch: improve SUSPECT_CODE_INDENT test
Many lines exist like
if (foo)
bar;
where the tabbed indentation of the branch is not one more than the "if"
line above it.
checkpatch should emit a warning on those lines.
Miscellenea:
o Remove comments from branch blocks
o Skip blank lines in block
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/mic')
0 files changed, 0 insertions, 0 deletions