History

export,module: add SPDX GPL-2.0 license identifier to headers with no license

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.

Masahiro Yamada committed 7 years ago

Commit bf49d9d1 parent 31f4f5b4 files · +8 −2Browse files

Unified · Split

4 files
  1. include/asm-generic/export.h +1 −0
  2. include/linux/export.h +1 −0
  3. include/linux/license.h +1 −0
  4. include/linux/module.h +5 −2
include/asm-generic/export.h+1−0
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef __ASM_GENERIC_EXPORT_H
23 #define __ASM_GENERIC_EXPORT_H
34
include/linux/export.h+1−0
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef _LINUX_EXPORT_H
23 #define _LINUX_EXPORT_H
34
include/linux/license.h+1−0
@@ -1,3 +1,4 @@
1+/* SPDX-License-Identifier: GPL-2.0-only */
12 #ifndef __LICENSE_H
23 #define __LICENSE_H
34
include/linux/module.h+5−2
@@ -1,11 +1,14 @@
1−#ifndef _LINUX_MODULE_H
2−#define _LINUX_MODULE_H
1+/* SPDX-License-Identifier: GPL-2.0-only */
32 /*
43 * Dynamic loading of modules into the kernel.
54 *
65 * Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996
76 * Rewritten again by Rusty Russell, 2002
87 */
8+
9+#ifndef _LINUX_MODULE_H
10+#define _LINUX_MODULE_H
11+
912 #include <linux/list.h>
1013 #include <linux/stat.h>
1114 #include <linux/compiler.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t