Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6079035rdb; Mon, 18 Sep 2023 03:39:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3x/Ax2m8Rw8E1he/7USYPtnSOPqesMkmjSM0SiY7QrlCD0cuIV7XXBF+JKDmHICgylOca X-Received: by 2002:a05:6358:27a3:b0:139:c7cb:77b8 with SMTP id l35-20020a05635827a300b00139c7cb77b8mr10138086rwb.20.1695033560204; Mon, 18 Sep 2023 03:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695033560; cv=none; d=google.com; s=arc-20160816; b=z0FGjFl+517dWJecbXsuL+gi61sVy2PvId50MS3ZMn1vLZJzrkTZ1BZWLtuWiZg9vF sB+DBuUgGgZjV7Rn2kG5pjd1Lzxs3wXZ8G1jDSkn0cBPJJXquROdhmxcyEJ051WIL2dt DCjkUwf219xY2HLLucidkYbXGeF9/MpUuksppYXT4OKTNmFtDg2rVOYZzKEwPDpU4Cn7 cPo2vaeoYER2nDsyoOepA+cngcQD+ylfR6jyXp1erdM2cU4HaQHkhys6jn0G279gUU9t 4Q/TTmsx7gCNBf56XPc3qVDwFr53KCir7+EA1r70kdmEE93Xl9G2+xsrG4wDQuCjuWo+ Udiw== 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w8-20020a63f508000000b00563d9ff5158si7700814pgh.350.2023.09.18.03.39.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 03:39:20 -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 B708880B2335; Mon, 18 Sep 2023 03:16:00 -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 S240942AbjIRKPX (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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:16:00 -0700 (PDT) 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 --- 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 -- 2.34.1