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