[PATCH] scripts/checkpatch: Reject another license boilerplate pattern

Bernhard Beschow posted 1 patch 2 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260414135018.13585-1-shentey@gmail.com
scripts/checkpatch.pl | 1 +
1 file changed, 1 insertion(+)
[PATCH] scripts/checkpatch: Reject another license boilerplate pattern
Posted by Bernhard Beschow 2 weeks, 1 day ago
The pattern us used 56 times in QEMU.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
 scripts/checkpatch.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index b77bd69328..b2ef0a8528 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -368,6 +368,7 @@ our @typeList = (
 # Match text found in common license boilerplate comments:
 # for new files the SPDX-License-Identifier line is sufficient.
 our @LICENSE_BOILERPLATE = (
+	"licensed under the GPL version 2",
 	"licensed under the terms of the GNU GPL",
 	"under the terms of the GNU General Public License",
 	"under the terms of the GNU Lesser General Public",
-- 
2.53.0
Re: [PATCH] scripts/checkpatch: Reject another license boilerplate pattern
Posted by Matyáš Bobek 2 weeks, 1 day ago
On Tue, 2026-04-14 at 15:50 +0200, Bernhard Beschow wrote:
> The pattern us used 56 times in QEMU.
> 
> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
> ---
>  scripts/checkpatch.pl | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: Matyas Bobek <matyas.bobek@gmail.com>

Thanks, Matt
Re: [PATCH] scripts/checkpatch: Reject another license boilerplate pattern
Posted by Daniel P. Berrangé 2 weeks, 1 day ago
On Tue, Apr 14, 2026 at 03:50:18PM +0200, Bernhard Beschow wrote:
> The pattern us used 56 times in QEMU.
> 
> Signed-off-by: Bernhard Beschow <shentey@gmail.com>
> ---
>  scripts/checkpatch.pl | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|