[PATCH 1/2] kallsyms: Specify license using SPDX
From: Uwe Kleine-König
Date: Thu Sep 08 2022 - 18:39:24 EST
The original license specification is a bit fuzzy about the actual
version of the GPL. Also it promises to include the license, but it
doesn't. Interpret that as GPL-2.0-only.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
scripts/kallsyms.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index f18e6dfc68c5..94c082f2c4db 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
/* Generate assembler source containing symbol information
*
* Copyright 2002 by Kai Germaschewski
*
- * This software may be used and distributed according to the terms
- * of the GNU General Public License, incorporated herein by reference.
- *
* Usage: nm -n vmlinux | scripts/kallsyms [--all-symbols] > symbols.S
*
* Table compression uses all the unused char codes on the symbols and
--
2.37.2