Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287303
b: refs/heads/master
c: 8eef05d
h: refs/heads/master
i:
  287301: b9f7a38
  287299: 7f12ddd
  287295: 6505319
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Feb 7, 2012
1 parent 018cbc8 commit 0dfcbd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6bd113f1f4a8c0d05c4dbadb300319e0e3526db4
refs/heads/master: 8eef05dd3e70233f3e391774d612dab44c3f023b
6 changes: 6 additions & 0 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1924,6 +1924,12 @@ sub process {
my $pre_ctx = "$1$2";

my ($level, @ctx) = ctx_statement_level($linenr, $realcnt, 0);

if ($line =~ /^\+\t{6,}/) {
WARN("DEEP_INDENTATION",
"Too many leading tabs - consider code refactoring\n" . $herecurr);
}

my $ctx_cnt = $realcnt - $#ctx - 1;
my $ctx = join("\n", @ctx);

Expand Down

0 comments on commit 0dfcbd2

Please sign in to comment.