Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1299328ybg; Fri, 18 Oct 2019 15:27:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrpodK0Ebh4KbOYX9sWgXBK4VBRgdLguUovvMe8vFg70RpP/nyEq/7+DYG5tvKqcaBAalk X-Received: by 2002:a17:906:7d10:: with SMTP id u16mr11157557ejo.329.1571437656704; Fri, 18 Oct 2019 15:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437656; cv=none; d=google.com; s=arc-20160816; b=PfBit3SbdVU3sUpO/cAzw9/pAdu762KftJC4wzojX84qc5M/DeDJzLhaKh1Svp71RZ uQxwxD7rAFXqnhQ46Ke/gXQNTTgPYke3IO5scnB49wUvJn9kBq7uWo400KrtYNYCevsv EUVUgm9fwlmt1iu2ovhByXdXSaSyI+o7EhK7x1bJwam/ps4a/FSZW6TaFh5VzbUMQeZd YRrsopZ78umUih7Pt6d4tzFqzL/IkFVGSECK2TPphcu+lhWj4Oqo3HIDEcfb/sKTgn0g HAo9KScShgYjwwar8HKpwQCitj+FI2fpmoe8b5mY63L5yKZz+P4eepELIxbiTnpyRhc+ NHpg== 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 ay6si4504005edb.377.2019.10.18.15.27.13; Fri, 18 Oct 2019 15:27:36 -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 S2439222AbfJRE6p (ORCPT + 99 others); Fri, 18 Oct 2019 00:58:45 -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(-) 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 -- 2.17.1