Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167765
b: refs/heads/master
c: 99423c2
h: refs/heads/master
i:
  167763: ce5facb
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Oct 29, 2009
1 parent 40d1628 commit b2ff7b3
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: 2ceb532b04b7a3b8f534d11a6e839f8b8bff94c1
refs/heads/master: 99423c2065b62fee41cdbd8da7e63bf1f8f9e9b0
4 changes: 2 additions & 2 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1669,8 +1669,8 @@ sub process {
}

# check for initialisation to aggregates open brace on the next line
if ($prevline =~ /$Declare\s*$Ident\s*=\s*$/ &&
$line =~ /^.\s*{/) {
if ($line =~ /^.\s*{/ &&
$prevline =~ /(?:^|[^=])=\s*$/) {
ERROR("that open brace { should be on the previous line\n" . $hereprev);
}

Expand Down

0 comments on commit b2ff7b3

Please sign in to comment.