From patchwork Mon Sep 18 10:14:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 141343 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2558021vqi; Mon, 18 Sep 2023 03:39:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1L0Rlm5FIIfyjfR1pUoj88sJIoSqvbqQT+1cBvtfHY8/4D0aSDoSKMVfQg/qytYrCEQV4 X-Received: by 2002:a17:903:1112:b0:1bf:34fb:3085 with SMTP id n18-20020a170903111200b001bf34fb3085mr9027700plh.14.1695033570240; Mon, 18 Sep 2023 03:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695033570; cv=none; d=google.com; s=arc-20160816; b=OB2FjvQv0ol2/CfIJgbJ1pF8UT6OxPRAJBvG11+EqrCZIiqNVipIWQ+YvpnK3POkmc StHeCjYI8Uob8RZKCylfH2o/NH0BR8HtOFEbnZFAZxvVP6Gm1Y5tKlMVpV11LpN7onmE ybFTVjSZL8Fm/bt6BEokoUJbx4LfU+fvCq/6Ng2UejMseu8CGdAjtGJfY29nZrZ0xH+p mH1pmMFeWj/KP04nolcGY0d7IJ6TJPfkN2nVYVJZs5XcZIeL28R8UVa4h6VC9wevHZeu DL8vK4Tm24CJtbM3LRBP6e/UETGN+sT/u8QrwZDX+bTZKYeJybXYyoQIVLSY1xnZ9LGd tzNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=nVO+mJmdeIlIlVpyQaJ3fri7Xxn8EOkJCk7zv4StpAE=; fh=+jbsKbBvdUh66UV3no+vALHIgVZNY7lMyJiDQtnTw/o=; b=Z76kuf1P/yYiUKtEPcc59AIQnTKQFAgDfxzBnpiUnBjfghve8m15yCqyKL6Op/pwV+ ic7ug1tyvFX5FZdv36oQHJJjV674D1MrR01lZj8Hrgas/JgPUpANkj5zJVs0LNs45Hou SjNAZrdhiLIDlmhacsPcQdv191vhMaxzzGsZcbKO+YXW0xUPiapt5Zs1eunKMG4/37E2 y1dxBJNvZXL0NFNRP/ym/tloBbOuBbYruiwYiMpQp+7r3qCqhlCWPWFCDd0cXZ8odZa9 26ZQuMAwhIkCBjKTcHluVb17NI5Ho98L9G8Xv1WkruY1+5B4DT8tNdB4jQA0wogIGhJQ IHJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s9-20020a170903320900b001bf1973eaeasi7825499plh.577.2023.09.18.03.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 03:39:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A7F10804ACEC; Mon, 18 Sep 2023 03:15:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240944AbjIRKPX (ORCPT + 27 others); Mon, 18 Sep 2023 06:15:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239492AbjIRKPB (ORCPT ); Mon, 18 Sep 2023 06:15:01 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5201ACD for ; Mon, 18 Sep 2023 03:14:55 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:9622:9b2f:73fd:43ad]) by baptiste.telenet-ops.be with bizsmtp id nNEr2A00d4u9dj801NEr9R; Mon, 18 Sep 2023 12:14:53 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qiBGw-003wYZ-LZ; Mon, 18 Sep 2023 12:14:51 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qiBHH-006GjX-FP; Mon, 18 Sep 2023 12:14:51 +0200 From: Geert Uytterhoeven To: Greg Ungerer , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Thomas Gleixner , Greg Kroah-Hartman Cc: linux-m68k@lists.linux-m68k.org, linuxppc-dev@lists.ozlabs.org, linux-spdx@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 2/2] powerpc: Replace GPL 2.0+ README.legal boilerplate with SPDX Date: Mon, 18 Sep 2023 12:14:44 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 03:15:58 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777371520777749699 X-GMAIL-MSGID: 1777371520777749699 Upstream Linux never had a "README.legal" file, but it was present in early source releases of Linux/m68k. It contained a simple copyright notice and a link to a version of the "COPYING" file that predated the addition of the "only valid GPL version is v2" clause. Get rid of the references to non-existent files by replacing the boilerplate with SPDX license identifiers. Signed-off-by: Geert Uytterhoeven Acked-by: Michael Ellerman (powerpc) --- v2: - s/existant/existent/. --- arch/powerpc/kernel/ptrace/ptrace.c | 5 +---- arch/powerpc/kernel/signal.c | 5 +---- arch/powerpc/kernel/signal.h | 7 ++----- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/kernel/ptrace/ptrace.c b/arch/powerpc/kernel/ptrace/ptrace.c index 5d7a72b41ae71158..727ed4a145451356 100644 --- a/arch/powerpc/kernel/ptrace/ptrace.c +++ b/arch/powerpc/kernel/ptrace/ptrace.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) @@ -9,10 +10,6 @@ * * Modified by Cort Dougan (cort@hq.fsmlabs.com) * and Paul Mackerras (paulus@samba.org). - * - * This file is subject to the terms and conditions of the GNU General - * Public License. See the file README.legal in the main directory of - * this archive for more details. */ #include diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index 68a91e553e14cea2..aa17e62f37547a79 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Common signal handling code for both 32 and 64 bits * * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation * Extracted from signal_32.c and signal_64.c - * - * This file is subject to the terms and conditions of the GNU General - * Public License. See the file README.legal in the main directory of - * this archive for more details. */ #include diff --git a/arch/powerpc/kernel/signal.h b/arch/powerpc/kernel/signal.h index a429c57ed4331805..58ecea1cdc27ae80 100644 --- a/arch/powerpc/kernel/signal.h +++ b/arch/powerpc/kernel/signal.h @@ -1,10 +1,7 @@ -/* +/* SPDX-License-Identifier: GPL-2.0-or-later + * * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation * Extracted from signal_32.c and signal_64.c - * - * This file is subject to the terms and conditions of the GNU General - * Public License. See the file README.legal in the main directory of - * this archive for more details. */ #ifndef _POWERPC_ARCH_SIGNAL_H