diff options
| -rwxr-xr-x | scripts/checkpatch.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index daf466d26a4b..90e1edc8dd42 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -203,7 +203,7 @@ sub hash_save_array_words { | |||
| 203 | sub hash_show_words { | 203 | sub hash_show_words { |
| 204 | my ($hashRef, $prefix) = @_; | 204 | my ($hashRef, $prefix) = @_; |
| 205 | 205 | ||
| 206 | if ($quiet == 0 && keys %$hashRef) { | 206 | if (keys %$hashRef) { |
| 207 | print "\nNOTE: $prefix message types:"; | 207 | print "\nNOTE: $prefix message types:"; |
| 208 | foreach my $word (sort keys %$hashRef) { | 208 | foreach my $word (sort keys %$hashRef) { |
| 209 | print " $word"; | 209 | print " $word"; |
| @@ -770,6 +770,9 @@ for my $filename (@ARGV) { | |||
| 770 | } | 770 | } |
| 771 | 771 | ||
| 772 | if (!$quiet) { | 772 | if (!$quiet) { |
| 773 | hash_show_words(\%use_type, "Used"); | ||
| 774 | hash_show_words(\%ignore_type, "Ignored"); | ||
| 775 | |||
| 773 | if ($^V lt 5.10.0) { | 776 | if ($^V lt 5.10.0) { |
| 774 | print << "EOM" | 777 | print << "EOM" |
| 775 | 778 | ||
| @@ -5707,9 +5710,6 @@ EOM | |||
| 5707 | } | 5710 | } |
| 5708 | } | 5711 | } |
| 5709 | 5712 | ||
| 5710 | hash_show_words(\%use_type, "Used"); | ||
| 5711 | hash_show_words(\%ignore_type, "Ignored"); | ||
| 5712 | |||
| 5713 | if ($clean == 0 && $fix && | 5713 | if ($clean == 0 && $fix && |
| 5714 | ("@rawlines" ne "@fixed" || | 5714 | ("@rawlines" ne "@fixed" || |
| 5715 | $#fixed_inserted >= 0 || $#fixed_deleted >= 0)) { | 5715 | $#fixed_inserted >= 0 || $#fixed_deleted >= 0)) { |
