Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207337
b: refs/heads/master
c: 5150bda
h: refs/heads/master
i:
  207335: baab3ce
v: v3
  • Loading branch information
Joe Eloff authored and Linus Torvalds committed Aug 10, 2010
1 parent 04330d7 commit 3305ab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f7ddae6104d85e27c0fbcb508cfe8286a01a5e1
refs/heads/master: 5150bda43c58cdce7eb851c3fe2ca913524459a0
4 changes: 2 additions & 2 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1791,9 +1791,9 @@ sub process {
WARN("EXPORT_SYMBOL(foo); should immediately follow its function/variable\n" . $herecurr);
}

# check for external initialisers.
# check for global initialisers.
if ($line =~ /^.$Type\s*$Ident\s*(?:\s+$Modifier)*\s*=\s*(0|NULL|false)\s*;/) {
ERROR("do not initialise externals to 0 or NULL\n" .
ERROR("do not initialise globals to 0 or NULL\n" .
$herecurr);
}
# check for static initialisers.
Expand Down

0 comments on commit 3305ab4

Please sign in to comment.