util/lint/checkpatch.pl: Update C99_COMMENT_TOLERANCE lines

Update to v5.18-2 version.

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: If230fa5cd01ab3ce91d8c910667c3d609cf978b0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63580
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <martinroth@google.com>
This commit is contained in:
Elyes Haouas 2022-04-12 12:55:43 +02:00 committed by Martin L Roth
parent 00d8ffdada
commit 8f59960fb2
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,7 @@ my $conststructsfile = "$D/const_structs.checkpatch";
my $docsfile = ""; my $docsfile = "";
my $typedefsfile; my $typedefsfile;
my $color = "auto"; my $color = "auto";
my $allow_c99_comments = 1; my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
my $git_command ='git'; # coreboot my $git_command ='git'; # coreboot
my $tabsize = 8; my $tabsize = 8;
my ${CONFIG_} = "CONFIG_"; my ${CONFIG_} = "CONFIG_";
@ -1130,6 +1130,7 @@ if ($git) {
} }
my $vname; my $vname;
$allow_c99_comments = !defined $ignore_type{"C99_COMMENT_TOLERANCE"};
for my $filename (@ARGV) { for my $filename (@ARGV) {
my $FILE; my $FILE;