diff --git a/[refs] b/[refs] index c5699b7c849b..a29e5f449eeb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4ed940d4c34c21a1a356969a923f2815d608e0bf +refs/heads/master: b34a26f3158cca932b6f1427b97fe12c7838ee68 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index e5bd60ff48e3..630319acb826 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -1848,8 +1848,8 @@ sub process { my $pos = pos_last_openparen($rest); if ($pos >= 0) { - $line =~ /^\+([ \t]*)/; - my $newindent = $1; + $line =~ /^(\+| )([ \t]*)/; + my $newindent = $2; my $goodtabindent = $oldindent . "\t" x ($pos / 8) .