Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp896820ybl; Wed, 28 Aug 2019 06:56:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqysEezBHTNMN4i55WqyywOjBPwo8eNyTgoX9SPvM76ua5Gq+O49b4sLpdP5mgMzIdnHFiLF X-Received: by 2002:a62:1d57:: with SMTP id d84mr4600615pfd.99.1567000592454; Wed, 28 Aug 2019 06:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567000592; cv=none; d=google.com; s=arc-20160816; b=n/3Y6zhI7cOpfSgtXVfbqDAVgipamktxI9fN4Qa7LeIyP+GMi+AG5QRmXGy6w/9lA0 P9NvTvSmmCL86pFlpfHfCo5l2zZuy5zPSzZ6R3nU4OjkAh1lu99a0b2vDkayCbiQf66C g8EqmX576jOQnKgqrAhJkP6hkyV4lg5qNXbxDzk+QMwW8UGecvvMK7R3qCNVFjl3AoPt 9LZdqT6D7C0kE8m52FXLkQ2AacI4G8xHQipRplkGTm0UH/moVsx4cep+AST3xJlG8mYK Xyhhtl98UGGTccpNSO1104Wd6jy7FfHbQtPYAnPQwRWqWVl2Y4XCFZdMv8WKhppjDZAo vkLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=plD+U4OvjrYOKzQ6oSYh9TJp58BExko+i26dUsMFbeg=; b=YozcDEfN6skkD291AWoA9W6tvS52wyEo8sgWGRF853qGj32hV6j9Xn9SjPxTgYbvcp QgScbUiYUZkwXWtW+W7F0wv9n5uUCHm92Dti0cX+578lkw3ZEX8weM79eRyUBFlLPedb EC5sIVDpbh6qs9d2BWGo9o4VRt4MoKRPu49u1y8JpUA5+9+2K6ghcPN3BesEYVSBS+RR KnroPIHq9jpLHrRvd5VDmdROZnFWlNx2zb4VqN/axRfDTaldQV2B+y7+lXL9AGOaYwOr 8kqLLd8w5JB3EhZaPDiqgsFLNqLybP7UKz9dnF5mfY2eZ3zWQdOWbGZId8WkgKMju4KG VVag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Va6yPQwZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f131si2650934pfa.11.2019.08.28.06.56.01; Wed, 28 Aug 2019 06:56:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Va6yPQwZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726457AbfH1Nx1 (ORCPT + 99 others); Wed, 28 Aug 2019 09:53:27 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53795 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbfH1Nx0 (ORCPT ); Wed, 28 Aug 2019 09:53:26 -0400 Received: by mail-wm1-f68.google.com with SMTP id 10so145750wmp.3; Wed, 28 Aug 2019 06:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=plD+U4OvjrYOKzQ6oSYh9TJp58BExko+i26dUsMFbeg=; b=Va6yPQwZ+88Bvnq4I3HEtLD3cD9u04oSgJCgRuznJEvMXVPKfJ7HkDxyRYJ55VNbR0 UQ7vkk9bF0R+zmiLb0D4/V8YyLYkD2/soBEWfZxLzn2UyzZsr+IOjAGv7mc7C2E7UZgb eXCzjD+iU2yN/WLv1gSzaN7jCYD78pAz34IHdGYwWhzjVkIUryBqKxyjUU31QJjijfcy +OtVMP3r6nK509N+eJUkoQ+wcMvycU+mE3AqcdONpfm73bsvhxy1fGYBLQeVlKZwTXQC MCONnGZzLXV4/O5kIAeVT2O0pJU9o3qyJKn8Xl4ATKofhFTSSjpETwbOJ0ygMi3linXO Tb9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=plD+U4OvjrYOKzQ6oSYh9TJp58BExko+i26dUsMFbeg=; b=NNAi6Ez7J3Y39QzU7Vn6R96d8xl67HMDtfxenqiHxRDIR897bLuCP1243hYs3+afgJ 3zp0Znmw5oJS0jGPFXp25mVNcdOJgWfQcR7fpnt7X0gTuFar9FTFCoYzVFJcz8Fz9NEe cPqQDE4K4McoplxlkyhPMNgAi4pKdSLWDVr6gatl5boNRly1Jw4FTrYqbrDtPz3eVvKB Yd3QzErDX8aMr5UyFc1n2DObWxU1RxcWNfMdgyk/h+ClJXNzkkkm+CP72h0NyQtCKjT8 5wYGBdgEDmfVLNwiCbmp2H/aR2W3M8a1I+vj+IwpS3FVHdyOU6+5sTz7STeLmL4Gya3v 0IrQ== X-Gm-Message-State: APjAAAUK4jtwQRLfRYS/Zn956RynS5kyH9U68vEWvincEvWcT3jeE0Kv I70g7vLdVV/ErtuZcZJ7ZLnqYMgc1bM9Og== X-Received: by 2002:a05:600c:48b:: with SMTP id d11mr5180877wme.55.1567000404508; Wed, 28 Aug 2019 06:53:24 -0700 (PDT) Received: from localhost.localdomain (ip5b4096c3.dynamic.kabel-deutschland.de. [91.64.150.195]) by smtp.gmail.com with ESMTPSA id f13sm624529wrq.3.2019.08.28.06.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 06:53:23 -0700 (PDT) From: Krzysztof Wilczynski To: Bjorn Helgaas Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Daniel J Blueman , x86@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] x86/PCI: Correct warnings about missing or incorrect SPDX license headers. Date: Wed, 28 Aug 2019 15:53:22 +0200 Message-Id: <20190828135322.10370-1-kw@linux.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190819060624.17305-1-kw@linux.com> References: <20190819060624.17305-1-kw@linux.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the missing "SPDX-License-Identifier" license header to the arch/x86/pci/numachip.c (use the GPL-2.0 identifier derived using the comment mentioning license from the top of the file), and remove license boilerplate as per a similar commit 8cfab3cf63cf ("PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplate"). Correct existing SPDX license header in the files drivers/pci/controller/pcie-cadence.h and drivers/pci/controller/pcie-rockchip.h to use correct comment style as per the section 2 "Style" of the "Linux kernel licensing rules" (see: Documentation/process/license-rules.rst). Both changes will resolve the following checkpatch.pl script warning: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 Signed-off-by: Krzysztof Wilczynski --- Changes in v2: Update wording and mention checkpatch.pl script warnings. Add two C header files to which the fix also applies. arch/x86/pci/numachip.c | 5 +---- drivers/pci/controller/pcie-cadence.h | 2 +- drivers/pci/controller/pcie-rockchip.h | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/pci/numachip.c b/arch/x86/pci/numachip.c index 2e565e65c893..01a085d9135a 100644 --- a/arch/x86/pci/numachip.c +++ b/arch/x86/pci/numachip.c @@ -1,8 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 /* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * * Numascale NumaConnect-specific PCI code * * Copyright (C) 2012 Numascale AS. All rights reserved. diff --git a/drivers/pci/controller/pcie-cadence.h b/drivers/pci/controller/pcie-cadence.h index ae6bf2a2b3d3..f1cba3931b99 100644 --- a/drivers/pci/controller/pcie-cadence.h +++ b/drivers/pci/controller/pcie-cadence.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (c) 2017 Cadence // Cadence PCIe controller driver. // Author: Cyrille Pitchen diff --git a/drivers/pci/controller/pcie-rockchip.h b/drivers/pci/controller/pcie-rockchip.h index 8e87a059ce73..53e4f9e59624 100644 --- a/drivers/pci/controller/pcie-rockchip.h +++ b/drivers/pci/controller/pcie-rockchip.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Rockchip AXI PCIe controller driver * -- 2.22.1