aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/get_maintainer.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index b61002dceaba..f76f3d13276d 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -347,6 +347,7 @@ foreach my $file (@files) {
347 if ($type eq 'X') { 347 if ($type eq 'X') {
348 if (file_match_pattern($file, $value)) { 348 if (file_match_pattern($file, $value)) {
349 $exclude = 1; 349 $exclude = 1;
350 last;
350 } 351 }
351 } 352 }
352 } 353 }
@@ -373,8 +374,7 @@ foreach my $file (@files) {
373 } 374 }
374 } 375 }
375 376
376 $tvi += ($end - $start); 377 $tvi = $end + 1;
377
378 } 378 }
379 379
380 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) { 380 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {