* [PATCH] kernel: debug: Convert to SPDX identifier
@ 2021-08-22 2:22 Cai Huoqing
2021-09-06 11:09 ` Daniel Thompson
0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2021-08-22 2:22 UTC (permalink / raw)
To: ason.wessel, daniel.thompson, dianders
Cc: kgdb-bugreport, linux-kernel, Cai Huoqing
use SPDX-License-Identifier instead of a verbose license text
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
kernel/debug/debug_core.c | 5 +----
kernel/debug/gdbstub.c | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index b4aa6bb6b2bd..da06a5553835 100644
--- a/kernel/debug/debug_core.c
+++ b/kernel/debug/debug_core.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Kernel Debug Core
*
@@ -22,10 +23,6 @@
*
* Original KGDB stub: David Grothe <dave@gcom.com>,
* Tigran Aivazian <tigran@sco.com>
- *
- * 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
diff --git a/kernel/debug/gdbstub.c b/kernel/debug/gdbstub.c
index b6f28fad4307..9d34d2364b5a 100644
--- a/kernel/debug/gdbstub.c
+++ b/kernel/debug/gdbstub.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Kernel Debug Core
*
@@ -22,10 +23,6 @@
*
* Original KGDB stub: David Grothe <dave@gcom.com>,
* Tigran Aivazian <tigran@sco.com>
- *
- * 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>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kernel: debug: Convert to SPDX identifier
2021-08-22 2:22 [PATCH] kernel: debug: Convert to SPDX identifier Cai Huoqing
@ 2021-09-06 11:09 ` Daniel Thompson
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Thompson @ 2021-09-06 11:09 UTC (permalink / raw)
To: Cai Huoqing; +Cc: ason.wessel, dianders, kgdb-bugreport, linux-kernel
On Sun, Aug 22, 2021 at 10:22:06AM +0800, Cai Huoqing wrote:
> use SPDX-License-Identifier instead of a verbose license text
>
> Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
> ---
> kernel/debug/debug_core.c | 5 +----
> kernel/debug/gdbstub.c | 5 +----
> 2 files changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
> index b4aa6bb6b2bd..da06a5553835 100644
> --- a/kernel/debug/debug_core.c
> +++ b/kernel/debug/debug_core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
Should this be: GPL-2.0-only ?
Daniel.
> /*
> * Kernel Debug Core
> *
> @@ -22,10 +23,6 @@
> *
> * Original KGDB stub: David Grothe <dave@gcom.com>,
> * Tigran Aivazian <tigran@sco.com>
> - *
> - * 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
> diff --git a/kernel/debug/gdbstub.c b/kernel/debug/gdbstub.c
> index b6f28fad4307..9d34d2364b5a 100644
> --- a/kernel/debug/gdbstub.c
> +++ b/kernel/debug/gdbstub.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> /*
> * Kernel Debug Core
> *
> @@ -22,10 +23,6 @@
> *
> * Original KGDB stub: David Grothe <dave@gcom.com>,
> * Tigran Aivazian <tigran@sco.com>
> - *
> - * 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>
> --
> 2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-06 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22 2:22 [PATCH] kernel: debug: Convert to SPDX identifier Cai Huoqing
2021-09-06 11:09 ` Daniel Thompson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).