[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210906110929.7jla5xjjlhpoe34m@maple.lan>
Date: Mon, 6 Sep 2021 12:09:29 +0100
From: Daniel Thompson <daniel.thompson@...aro.org>
To: Cai Huoqing <caihuoqing@...du.com>
Cc: ason.wessel@...driver.com, dianders@...omium.org,
kgdb-bugreport@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel: debug: Convert to SPDX identifier
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@...du.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@...m.com>,
> * Tigran Aivazian <tigran@....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@...m.com>,
> * Tigran Aivazian <tigran@....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
Powered by blists - more mailing lists