From 1d34d4a2c1a868cf9de58511811dfbccd26d1bd0 Mon Sep 17 00:00:00 2001 From: Bernhard Beschow Date: Tue, 14 Apr 2026 15:50:18 +0200 Subject: [PATCH] scripts/checkpatch: Reject another license boilerplate pattern MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pattern us used 56 times in QEMU. Signed-off-by: Bernhard Beschow Reviewed-by: Daniel P. Berrangé Tested-by: Matyas Bobek Message-ID: <20260414135018.13585-1-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e1cf2ff23b..d440553a7e 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",