Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7547408ybn; Mon, 30 Sep 2019 15:59:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9z81snZYKXG0yDER+oQ6pz53AqDP4vMxxEFmKkA/uuISqLb1AY3Fn+84qigEMWYlLLZUN X-Received: by 2002:a50:ed82:: with SMTP id h2mr22425451edr.206.1569884352846; Mon, 30 Sep 2019 15:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569884352; cv=none; d=google.com; s=arc-20160816; b=wfTdPv0MsSH3olGNqcO0E7V0xP9wCr7r+2A+wr5eMJivD1wTCZGpWtqhbVR3Zbyz7P RbUv5OPka0R+oT8MK5aXe7PwolIgZG7taX9VPvjLaFDFYri0ElMfP+t1cwICOHQARC9E NO1nB0ONb0QFEP49ctnmYALrS+sVo5Dof9TcHGtdXy7jqzgMk8JcwWSauHs+EDXKuRDn Vij04nFaYutjPdyBxmpvHsxbCqZ94IHIFr2b9AfXufvQGjK4u+TN15QMDAwyPiEuCmte PXrhAnblaijESsjDYK9Wl0DHR4FaAMTb9G0OKImhHp4gxlQuffP9Iuj4Htr/JqQNaqxu byxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=rncC8rTg2i2BM05q2O7Y4OK5r3mbIGCz2LyNSX/MJkM=; b=NRqunmIZoD2ZB++trjeIs1vVnrHgSGrEhFqFumv+OCotjkbtN7WUZMlh60mRUvvMkG f6I8GsYf+C6rJ2AitK+xHtYuSUZp2CW9LofKtf/S6LF8GxPXz5m5091ix2G9xvUjQzs6 pPZ/7cCB4hrWM5+OVwD2W9n7x2eVhzm1wiBIRJtyp/aZQZsW8XUYTLb8c8BDKRVoAGqI iBLkJnz48SdanOSXXWwUstmE76Ipxf/YxGuOSRU4fKtvBBKj5P9665hjYqOWGYR4TmEm lgEywFvRTaI/rx43YLFmwhyYGHii1oKzMekCA9pr3lLehTxTRr+Yvj+CrULooXUq6XhJ a9tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YxpWsvpY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si7946280edl.170.2019.09.30.15.58.48; Mon, 30 Sep 2019 15:59:12 -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=pass header.i=@kernel.org header.s=default header.b=YxpWsvpY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731032AbfI3W6h (ORCPT + 99 others); Mon, 30 Sep 2019 18:58:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:39884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726425AbfI3W6h (ORCPT ); Mon, 30 Sep 2019 18:58:37 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 924EF2086A; Mon, 30 Sep 2019 22:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569884315; bh=tnKZOVuMQe40baXVAUS8CkfwTMU9lvjXSTk3v5kBmoE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=YxpWsvpYOxez0y/qzV9gGrdxL/PliBjkQGqghHBAL1wGCnsVROoO9Yi7eKTBq7hBS anu1fyxthC/osuEkN92r99Qw6pc9Ponkyzz8YN9/GCS9rWlJogA/WmWKZIrxogoGTX XWWGLlybA9N/S3ud3oXM9Rf3BrZvKJoJ7l7zamPU= Date: Mon, 30 Sep 2019 17:58:27 -0500 From: Bjorn Helgaas To: Krzysztof Wilczynski 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: Re: [PATCH v2] x86/PCI: Correct warnings about missing or incorrect SPDX license headers. Message-ID: <20190930225827.GA220126@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190828135322.10370-1-kw@linux.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 28, 2019 at 03:53:22PM +0200, Krzysztof Wilczynski wrote: > 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 Applied to pci/misc for v5.5, thanks! > --- > 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 >