Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114753
b: refs/heads/master
c: a1ef277
h: refs/heads/master
i:
  114751: 02a2391
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Oct 16, 2008
1 parent 09add42 commit b975afe
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 1bdab9e5881fde3bf66528db5b91477ce4b35b3b
refs/heads/master: a1ef277e2c88c80cfa00580469133e2215442c8d
10 changes: 10 additions & 0 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
my $dbg_values = 0;
my $dbg_possible = 0;
my $dbg_type = 0;
my $dbg_attr = 0;
for my $key (keys %debug) {
eval "\${dbg_$key} = '$debug{$key}';"
}
Expand Down Expand Up @@ -1367,6 +1368,15 @@ sub process {
}
next;
}
# TEST: allow direct testing of the attribute matcher.
if ($dbg_attr) {
if ($line =~ /^.\s*$Attribute\s*$/) {
ERROR("TEST: is attr\n" . $herecurr);
} elsif ($dbg_attr > 1 && $line =~ /^.+($Attribute)/) {
ERROR("TEST: is not attr ($1 is)\n". $herecurr);
}
next;
}

# check for initialisation to aggregates open brace on the next line
if ($prevline =~ /$Declare\s*$Ident\s*=\s*$/ &&
Expand Down

0 comments on commit b975afe

Please sign in to comment.