Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186301
b: refs/heads/master
c: 42bdf74
h: refs/heads/master
i:
  186299: 4763df1
v: v3
  • Loading branch information
Hidetoshi Seto authored and Linus Torvalds committed Mar 6, 2010
1 parent 6df667e commit 2c78593
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8f53a9b80f011080555c498d2ca2dc6b1a77c42c
refs/heads/master: 42bdf74c95b6935f3c09a09ba4bead6cad11b540
4 changes: 3 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2182,8 +2182,10 @@ sub process {
# Find out how long the conditional actually is.
my @newlines = ($c =~ /\n/gs);
my $cond_lines = 1 + $#newlines;
my $stat_real = '';

my $stat_real = raw_line($linenr, $cond_lines);
$stat_real = raw_line($linenr, $cond_lines)
. "\n" if ($cond_lines);
if (defined($stat_real) && $cond_lines > 1) {
$stat_real = "[...]\n$stat_real";
}
Expand Down

0 comments on commit 2c78593

Please sign in to comment.