diff --git a/checkpatch.pl b/checkpatch.pl index edbfa6b1..86155bdb 100755 --- a/checkpatch.pl +++ b/checkpatch.pl @@ -1911,7 +1911,7 @@ sub process { "please, no space before tabs\n" . $herevet) && $fix) { while ($fixed[$linenr - 1] =~ - s/(^\+.*) {8,8}+\t/$1\t\t/) {} + s/(^\+.*) {8,8}\t/$1\t\t/) {} while ($fixed[$linenr - 1] =~ s/(^\+.*) +\t/$1\t/) {} }