Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10824659ybi; Thu, 25 Jul 2019 05:48:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzU0SyGiWLfsghxHfYBCjR9MvM3qIIKgQkFC8ZbHBieplzYB0+GrsWZb7TkDnT1ux6wBL4Z X-Received: by 2002:a6b:6e01:: with SMTP id d1mr9444947ioh.156.1564058891197; Thu, 25 Jul 2019 05:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564058891; cv=none; d=google.com; s=arc-20160816; b=y/BAT8FcD8LAXXw7HOD+sZ4gj21drX11RvRnsOxai01aS33J7e6KH7gaJVisF0Ntc7 bO+D1+3D5QHDq6D1Tl0ppJRrbCQo6yCCJTEMrLsdVEwVqhZfPnGooQI1igXFWZ/nunCP /Y8IzFYNfVt6h56E8CWSaOIktr3CBTHNhWMxXuBkTNCwk3LakTePluPu/Gv0EDSlcnDn M2Xc9MGWc34gIPoeGrjeayEUCEEXRMGeVCqEGh4H/O+vvMhP2ub3BsITk+mPO5GKSz2W Kl8baSqg+KeGavpODGh4uDwcC5BRFS3MbnCdANQlMi1FNRT/G6OkFU75WkUGdQ1FdISb tMww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=+xUzJcHq+NV6Dz+tS2WmOT2YzCPlQVgQgttInFxMb1M=; b=JL24KLseL/PBOTzGPiPRZDbY/CNbeMfnJMRl6nqiZvqZQewQJr/6+mTrTGTaGDNX+8 o6sj1jC+ggoWQc9CzLojm22hsjeF5VlqJm4H5vYC74ytUpuO8bCUD+3VGiOAaeOr0xz5 aeLWKqOhw76wcEDNs+LUpCay9ZsRdX3e3PTzjlKCaFZP4li+U/qr1GCh9hUhfUAOVeyU ZcRpwXdxTVn1zwPbQVmC23BMqi8ucjwNqhN98S46lPMGoR+xILh9puegTyEATX1OECUD lkDcQByeb/z4y5+T4BgzHBkkR9MaUJ4/ZxKqvcs/UP+djEWP0gU9z+xFndqTWXFKYkzS YK9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 n28si56098057jac.89.2019.07.25.05.47.58; Thu, 25 Jul 2019 05:48:11 -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; 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 S2389746AbfGYIkK (ORCPT + 99 others); Thu, 25 Jul 2019 04:40:10 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:45595 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389213AbfGYIkK (ORCPT ); Thu, 25 Jul 2019 04:40:10 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hqZIF-0001Gq-Ge; Thu, 25 Jul 2019 10:40:07 +0200 Date: Thu, 25 Jul 2019 10:40:06 +0200 (CEST) From: Thomas Gleixner To: Masahiro Yamada cc: linux-kernel@vger.kernel.org, linux-spdx@vger.kernel.org, Greg KH , alsa-devel@alsa-project.org Subject: Re: [PATCH v2 1/3] treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers In-Reply-To: <20190725075833.3481-1-yamada.masahiro@socionext.com> Message-ID: References: <20190725075833.3481-1-yamada.masahiro@socionext.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Jul 2019, Masahiro Yamada wrote: > UAPI headers licensed under GPL are supposed to have exception > "WITH Linux-syscall-note" so that they can be included into non-GPL > user space application code. > > The exception note is missing in some UAPI headers. > > Some of them slipped in by the treewide conversion commit b24413180f56 > ("License cleanup: add SPDX GPL-2.0 license identifier to files with > no license"). Just run: > > $ git show --oneline b24413180f56 -- arch/x86/include/uapi/asm/ > > I believe they are not intentional, and should be fixed too. > > This patch was generated by the following script: > > git grep -l --not -e Linux-syscall-note --and -e SPDX-License-Identifier \ > -- :arch/*/include/uapi/asm/*.h :include/uapi/ :^*/Kbuild | > while read file > do > sed -i -e '/[[:space:]]OR[[:space:]]/s/\(GPL-[^[:space:]]*\)/(\1 WITH Linux-syscall-note)/g' \ > -e '/[[:space:]]or[[:space:]]/s/\(GPL-[^[:space:]]*\)/(\1 WITH Linux-syscall-note)/g' \ > -e '/[[:space:]]OR[[:space:]]/!{/[[:space:]]or[[:space:]]/!s/\(GPL-[^[:space:]]*\)/\1 WITH Linux-syscall-note/g}' $file > done > > After this patch is applied, there are 5 UAPI headers that do not contain > "WITH Linux-syscall-note". They are kept untouched since this exception > applies only to GPL variants. > > $ git grep --not -e Linux-syscall-note --and -e SPDX-License-Identifier \ > -- :arch/*/include/uapi/asm/*.h :include/uapi/ :^*/Kbuild > include/uapi/drm/panfrost_drm.h:/* SPDX-License-Identifier: MIT */ > include/uapi/linux/batman_adv.h:/* SPDX-License-Identifier: MIT */ > include/uapi/linux/qemu_fw_cfg.h:/* SPDX-License-Identifier: BSD-3-Clause */ > include/uapi/linux/vbox_err.h:/* SPDX-License-Identifier: MIT */ > include/uapi/linux/virtio_iommu.h:/* SPDX-License-Identifier: BSD-3-Clause */ > > Signed-off-by: Masahiro Yamada Thanks for cleaning this up! Reviewed-by: Thomas Gleixner