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.
Showing the changes to include/linux (3 of 4 files). Show all
Unified · Split
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef _LINUX_EXPORT_H | 2 | #ifndef _LINUX_EXPORT_H |
| 2 | #define _LINUX_EXPORT_H | 3 | #define _LINUX_EXPORT_H |
| 3 | 4 | ||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef __LICENSE_H | 2 | #ifndef __LICENSE_H |
| 2 | #define __LICENSE_H | 3 | #define __LICENSE_H |
| 3 | 4 | ||
| @@ -1,11 +1,14 @@ | |||
| 1 | #ifndef _LINUX_MODULE_H | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | #define _LINUX_MODULE_H | ||
| 3 | /* | 2 | /* |
| 4 | * Dynamic loading of modules into the kernel. | 3 | * Dynamic loading of modules into the kernel. |
| 5 | * | 4 | * |
| 6 | * Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996 | 5 | * Rewritten by Richard Henderson <rth@tamu.edu> Dec 1996 |
| 7 | * Rewritten again by Rusty Russell, 2002 | 6 | * Rewritten again by Rusty Russell, 2002 |
| 8 | */ | 7 | */ |
| 8 | |||
| 9 | #ifndef _LINUX_MODULE_H | ||
| 10 | #define _LINUX_MODULE_H | ||
| 11 | |||
| 9 | #include <linux/list.h> | 12 | #include <linux/list.h> |
| 10 | #include <linux/stat.h> | 13 | #include <linux/stat.h> |
| 11 | #include <linux/compiler.h> | 14 | #include <linux/compiler.h> |