Skip to contentSkip to conversation

kernel: debug: Convert to SPDX identifier

PATCH Applied Cai Huoqing 2 participants 2 messages Sep 6, 2021 KGDB / KDB /debug_core

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kernel: debug: Convert to SPDX identifier

use SPDX-License-Identifier instead of a verbose license text

---
v1->v2: change GPL-2.0 to GPL-2.0-only

 kernel/debug/debug_core.c | 5 +----
 kernel/debug/gdbstub.c    | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
kernel/debug/debug_core.c +1 -4
index b4aa6bb6b2bd..da06a5553835 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel Debug Core
  *
@@ -22,10 +23,6 @@
  *
  * Original KGDB stub: David Grothe <[email protected]>,
  * Tigran Aivazian <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #define pr_fmt(fmt) "KGDB: " fmt
kernel/debug/gdbstub.c +1 -4
index b6f28fad4307..9d34d2364b5a 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel Debug Core
  *
@@ -22,10 +23,6 @@
  *
  * Original KGDB stub: David Grothe <[email protected]>,
  * Tigran Aivazian <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/kernel.h>
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · Cai Huoqing

use SPDX-License-Identifier instead of a verbose license text

Applied. Thanks!

Quoted 56 lines

---
v1->v2: change GPL-2.0 to GPL-2.0-only

 kernel/debug/debug_core.c | 5 +----
 kernel/debug/gdbstub.c    | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
kernel/debug/debug_core.c +1 -4
index b4aa6bb6b2bd..da06a5553835 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel Debug Core
  *
@@ -22,10 +23,6 @@
  *
  * Original KGDB stub: David Grothe <[email protected]>,
  * Tigran Aivazian <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #define pr_fmt(fmt) "KGDB: " fmt
kernel/debug/gdbstub.c +1 -4
index b6f28fad4307..9d34d2364b5a 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel Debug Core
  *
@@ -22,10 +23,6 @@
  *
  * Original KGDB stub: David Grothe <[email protected]>,
  * Tigran Aivazian <[email protected]>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <linux/kernel.h>
Signature · 8 lines
2.25.1



_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport