scripts: detect another GPL license boilerplate variant
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Daniel P. Berrangé committed
Nov 5, 2025 at 11:42 UTC
79773cd123a69583a1e09419cb99835f67d42748
1 file changed
+3
-2
scripts/checkpatch.pl
+3
-2
@@ -373,8 +373,9 @@ our @LICENSE_BOILERPLATE = (
373
"under the terms of the GNU Lesser General Public",
374
"Permission is hereby granted, free of charge",
375
"GNU GPL, version 2 or later",
376
- "See the COPYING file"
377
-);
376
+ "See the COPYING file",
377
+ "terms and conditions of the GNU General Public",
378
+ );
379
our $LICENSE_BOILERPLATE_RE = join("|", @LICENSE_BOILERPLATE);
380
381
# Load common spelling mistakes and build regular expression list.