diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 76748ab23ce9..cbbeb3830a48 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -61,7 +61,7 @@ my $codespellfile = "/usr/share/codespell/dictionary.txt"; | |||
| 61 | my $conststructsfile = "$D/const_structs.checkpatch"; | 61 | my $conststructsfile = "$D/const_structs.checkpatch"; |
| 62 | my $typedefsfile = ""; | 62 | my $typedefsfile = ""; |
| 63 | my $color = "auto"; | 63 | my $color = "auto"; |
| 64 | my $allow_c99_comments = 1; | 64 | my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE |
| 65 | 65 | ||
| 66 | sub help { | 66 | sub help { |
| 67 | my ($exitcode) = @_; | 67 | my ($exitcode) = @_; |
| @@ -1021,6 +1021,7 @@ if ($git) { | |||
| 1021 | } | 1021 | } |
| 1022 | 1022 | ||
| 1023 | my $vname; | 1023 | my $vname; |
| 1024 | $allow_c99_comments = !defined $ignore_type{"C99_COMMENT_TOLERANCE"}; | ||
| 1024 | for my $filename (@ARGV) { | 1025 | for my $filename (@ARGV) { |
| 1025 | my $FILE; | 1026 | my $FILE; |
| 1026 | if ($git) { | 1027 | if ($git) { |
