kernel: debug: Convert to SPDX identifier
PATCH 1/1 kernel: debug: Convert to SPDX identifier
use SPDX-License-Identifier instead of a verbose license text
Signed-off-by Cai Huoqing <[email protected]>
--- 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
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * 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
@@ -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
Quoted 13 lines · Cai Huoqing
use SPDX-License-Identifier instead of a verbose license text
Signed-off-by Cai Huoqing <[email protected]>--- kernel/debug/debug_core.c | 5 +---- kernel/debug/gdbstub.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)kernel/debug/debug_core.c +0
-0
kernel/debug/debug_core.c line 1
Quoted 1 line
kernel/debug/debug_core.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0
Should this be: GPL-2.0-only ?
Daniel.
Quoted 36 lines
kernel/debug/debug_core.c +0
-4/* * 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: " fmtkernel/debug/gdbstub.c +1
-4@@ -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