aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index e5bd60ff48e3..630319acb826 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1848,8 +1848,8 @@ sub process {
1848 1848
1849 my $pos = pos_last_openparen($rest); 1849 my $pos = pos_last_openparen($rest);
1850 if ($pos >= 0) { 1850 if ($pos >= 0) {
1851 $line =~ /^\+([ \t]*)/; 1851 $line =~ /^(\+| )([ \t]*)/;
1852 my $newindent = $1; 1852 my $newindent = $2;
1853 1853
1854 my $goodtabindent = $oldindent . 1854 my $goodtabindent = $oldindent .
1855 "\t" x ($pos / 8) . 1855 "\t" x ($pos / 8) .