Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129679
b: refs/heads/master
c: 63f17f8
h: refs/heads/master
i:
  129677: 8344ade
  129675: 833e4bb
  129671: 9d9a498
  129663: e391a7c
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Jan 16, 2009
1 parent f3c85b8 commit 985626b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: f9a0b3d17a01fe1ba24ce1e9c18666a52052e011
refs/heads/master: 63f17f8973ccdb8260e59ce5b1b4e2b2ee0401f0
6 changes: 5 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,11 @@ sub process {

# Flatten any parentheses
$value =~ s/\)\(/\) \(/g;
while ($value !~ /(?:$Ident|-?$Constant)\s*$Compare\s*(?:$Ident|-?$Constant)/ && $value =~ s/\([^\(\)]*\)/1/) {
while ($value =~ s/\[[^\{\}]*\]/1/ ||
$value !~ /(?:$Ident|-?$Constant)\s*
$Compare\s*
(?:$Ident|-?$Constant)/x &&
$value =~ s/\([^\(\)]*\)/1/) {
}

if ($value =~ /^(?:$Ident|-?$Constant)$/) {
Expand Down

0 comments on commit 985626b

Please sign in to comment.