Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63580 )
Change subject: util/lint/checkpatch.pl: Update to v5.18-2 lines related to C99_COMMENT_TOLERANCE ......................................................................
util/lint/checkpatch.pl: Update to v5.18-2 lines related to C99_COMMENT_TOLERANCE
Signed-off-by: Elyes Haouas ehaouas@noos.fr Change-Id: If230fa5cd01ab3ce91d8c910667c3d609cf978b0 --- M util/lint/checkpatch.pl 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/63580/1
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index a748d36..f7fb0fa 100755 --- a/util/lint/checkpatch.pl +++ b/util/lint/checkpatch.pl @@ -68,7 +68,7 @@ my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; my $typedefsfile; 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 $tabsize = 8; my ${CONFIG_} = "CONFIG_"; @@ -1118,6 +1118,7 @@ }
my $vname; +$allow_c99_comments = !defined $ignore_type{"C99_COMMENT_TOLERANCE"}; for my $filename (@ARGV) { my $FILE;