diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 55277a8e1527..9ba4fc44112a 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -174,9 +174,9 @@ sub hash_save_array_words { | |||
| 174 | sub hash_show_words { | 174 | sub hash_show_words { |
| 175 | my ($hashRef, $prefix) = @_; | 175 | my ($hashRef, $prefix) = @_; |
| 176 | 176 | ||
| 177 | if ($quiet == 0 && keys $hashRef) { | 177 | if ($quiet == 0 && keys %$hashRef) { |
| 178 | print "NOTE: $prefix message types:"; | 178 | print "NOTE: $prefix message types:"; |
| 179 | foreach my $word (sort keys $hashRef) { | 179 | foreach my $word (sort keys %$hashRef) { |
| 180 | print " $word"; | 180 | print " $word"; |
| 181 | } | 181 | } |
| 182 | print "\n\n"; | 182 | print "\n\n"; |
