Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309717
b: refs/heads/master
c: 9a4cad4
h: refs/heads/master
i:
  309715: 244fa4b
v: v3
  • Loading branch information
Eric Nelson authored and Linus Torvalds committed Jun 1, 2012
1 parent 4e1dea1 commit 289651a
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 133fd9f5cda2d86904126f4b9fa4e8f4330c9569
refs/heads/master: 9a4cad4e25b91f48494f13fce3d25ea44bec7472
7 changes: 7 additions & 0 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2448,6 +2448,13 @@ sub process {
"space prohibited between function name and open parenthesis '('\n" . $herecurr);
}
}

# check for whitespace before a non-naked semicolon
if ($line =~ /^\+.*\S\s+;/) {
CHK("SPACING",
"space prohibited before semicolon\n" . $herecurr);
}

# Check operator spacing.
if (!($line=~/\#\s*include/)) {
my $ops = qr{
Expand Down

0 comments on commit 289651a

Please sign in to comment.