]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
export,module: add SPDX GPL-2.0 license identifier to headers with no license
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 18 Oct 2019 04:50:53 +0000 (13:50 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Nov 2019 03:36:53 +0000 (11:36 +0800)
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 <yamada.masahiro@socionext.com>
Link: https://lore.kernel.org/r/20191018045053.8424-1-yamada.masahiro@socionext.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/asm-generic/export.h
include/linux/export.h
include/linux/license.h
include/linux/module.h

index fa577978fbbde494a7d9ea334b6f05d85827534e..d0166115a8256b69c4aab10d14ddf5b98bcc7314 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef __ASM_GENERIC_EXPORT_H
 #define __ASM_GENERIC_EXPORT_H
 
index 941d075f03d684d20b3c1c27c3a6304324e185f5..aee5c86ae35040308dc7ada088549f9ca55fb393 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef _LINUX_EXPORT_H
 #define _LINUX_EXPORT_H
 
index decdbf43cb5c0c1095e9cced610a9b59976f5f15..7cce390f120b4f44a4fd1d8aff2b95d714a6890e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef __LICENSE_H
 #define __LICENSE_H
 
index 6d20895e7739198609531a27814a6309b613dda6..bd165ba68617572d7496537ed7c04c94d3ad952e 100644 (file)
@@ -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 <rth@tamu.edu> Dec 1996
  * Rewritten again by Rusty Russell, 2002
  */
+
+#ifndef _LINUX_MODULE_H
+#define _LINUX_MODULE_H
+
 #include <linux/list.h>
 #include <linux/stat.h>
 #include <linux/compiler.h>