From patchwork Fri Oct 18 04:50:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 176757 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp339185ill; Thu, 17 Oct 2019 21:58:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbYzTxf2CfAvFZjidt7Xn+c/IvqbQhtG7+9UdmQJquucqhU+fBmtp278oQbpK5PfFCc0ig X-Received: by 2002:a17:906:66d2:: with SMTP id k18mr7047747ejp.100.1571374728152; Thu, 17 Oct 2019 21:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571374728; cv=none; d=google.com; s=arc-20160816; b=ale4JOQP26BlLUweDkuiw0YNCw9Rr7OMd+nNdq+T4VBUhISk8lhOwxgHGBX0q76OTQ LUGphOwpXmZ4FP4OI9ORuRyjJRd57KWf8e+YrvdrssfTnSOd300BFnNYItjgoPb2cPaA OJZIW5Uhz80sj6IcPaCiBP4vXHtysufN0hpphArqwnLmlU6WBIECC6YTFB4Hg8BUjGpj d4x+Ipi0rFsI48yVTk3YwIegTKWY8jUK/u8hRQAb94m99T5Cxu4DLZWupl/Gj2uhkyrU vai9Aidu7wPbko46aECi2b0QhQkCbZceguLDXC6LrFxVsI7Kp2WaVWdOaNzOwoUezhBd 6K8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=g3k4SKCLKg1HVJs8XOHlrlk6IW7BWaci6zok4NIZI/U=; b=yBjYe15NeQELmXJKb96519bWCY6bnhcqktEF6OiT+mVjndtKoUWMHkDrAWDxx2zjQw 6GX6C//Iz8nrPFcdeJtxbMDJOwT7zVHoMMHs256q0zvWn0C+bPTi3W2gA2y2pC9d3D4n 8BzDaMw6mrTi5WNC1rRiQo+wbwtsn/3EDodaD6Q9Vgyv3LBtpdXTmQWO7OvaIJTgNNg6 rUqoposlTu0+0eC4wm++v6K2HeNTuT2QWEdR785MwAN4ANSv5pQ5npItlE+QMJ7tRHtF jf1Xyn94ngjrpeWimbyogwnRvciEsOuQFkjZrpbwkgGmMUsRVy6zzLaR4bZw34NM/OzR Qm3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="iNxk/lYC"; 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 f1si2692429eje.338.2019.10.17.21.58.47; Thu, 17 Oct 2019 21:58:48 -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=@nifty.com header.s=dec2015msa header.b="iNxk/lYC"; 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 S2439278AbfJRE6q (ORCPT + 26 others); Fri, 18 Oct 2019 00:58:46 -0400 Received: from condef-10.nifty.com ([202.248.20.75]:37434 "EHLO condef-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436473AbfJRE6p (ORCPT ); Fri, 18 Oct 2019 00:58:45 -0400 Received: from conuserg-12.nifty.com ([10.126.8.75])by condef-10.nifty.com with ESMTP id x9I4pfCF007484; Fri, 18 Oct 2019 13:51:41 +0900 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id x9I4otrw003608; Fri, 18 Oct 2019 13:50:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x9I4otrw003608 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1571374256; bh=g3k4SKCLKg1HVJs8XOHlrlk6IW7BWaci6zok4NIZI/U=; h=From:To:Cc:Subject:Date:From; b=iNxk/lYCnVuVic2I0bv+2ctP+0/Cm+8G76ozpRQGCQO5g3XRzPr9TkHwF8BSKrkYm g8P3uXWpjYBkOP6HvzlkeiDwU86Q3B19HJxlDXpFWjYdzInL18bqPT7t5IeX+R6pEJ 1O49UlTxg+iTTDj0uP2oZ9xjxGwdYo9ADAiYE56NHaXfHAeXZnbIT6IuJE9lnM/gT7 bOYH8fvd8jtQGvq4ho4m2MwNw4fKFOpZhk/PVXSuheZUkR+apM7kHj0+rOISyLGSa1 AgKsq5asjwO/Jt7P1df5y2gGOisFbv8ZmvhtXTh1jVsZ5Im53Xdzpfc4rFR2lNLk6x kU6JqV2Ohvjig== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Thomas Gleixner , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-spdx@vger.kernel.org Cc: Masahiro Yamada Subject: [PATCH] export, module: add SPDX GPL-2.0 license identifier to headers with no license Date: Fri, 18 Oct 2019 13:50:53 +0900 Message-Id: <20191018045053.8424-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") took care of a lot of files without any license information. These headers were not processed by the tool perhaps because they contain "GPL" in the code. I do not see any license boilerplate in them, so they fall back to GPL version 2 only, which is the project default. Signed-off-by: Masahiro Yamada --- include/asm-generic/export.h | 1 + include/linux/export.h | 1 + include/linux/license.h | 1 + include/linux/module.h | 7 +++++-- 4 files changed, 8 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h index a3983e2ce0fd..afddc5442e92 100644 --- a/include/asm-generic/export.h +++ b/include/asm-generic/export.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_GENERIC_EXPORT_H #define __ASM_GENERIC_EXPORT_H diff --git a/include/linux/export.h b/include/linux/export.h index 621158ecd2e2..f86ba7b11c1f 100644 --- a/include/linux/export.h +++ b/include/linux/export.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _LINUX_EXPORT_H #define _LINUX_EXPORT_H diff --git a/include/linux/license.h b/include/linux/license.h index decdbf43cb5c..7cce390f120b 100644 --- a/include/linux/license.h +++ b/include/linux/license.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __LICENSE_H #define __LICENSE_H diff --git a/include/linux/module.h b/include/linux/module.h index 6d20895e7739..bd165ba68617 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -1,11 +1,14 @@ -#ifndef _LINUX_MODULE_H -#define _LINUX_MODULE_H +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Dynamic loading of modules into the kernel. * * Rewritten by Richard Henderson Dec 1996 * Rewritten again by Rusty Russell, 2002 */ + +#ifndef _LINUX_MODULE_H +#define _LINUX_MODULE_H + #include #include #include