Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114770
b: refs/heads/master
c: 6f779c1
h: refs/heads/master
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Oct 16, 2008
1 parent a704e96 commit 45ca2d5
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5368df20fb364e394da3ab88d3d60ee3c0a9e5ba
refs/heads/master: 6f779c18ca74358b6ac8eb8f5d502843fa92be4e
3 changes: 2 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,8 @@ sub process {
$s =~ s/\n./\n/gs;

# Find out how long the conditional actually is.
my $cond_lines = 0 + $c =~ /\n/gs;
my @newlines = ($c =~ /\n/gs);
my $cond_lines = 1 + $#newlines;

# We want to check the first line inside the block
# starting at the end of the conditional, so remove:
Expand Down

0 comments on commit 45ca2d5

Please sign in to comment.