2022-08-30 02:16:05

by Li zeming

[permalink] [raw]
Subject: [PATCH] net: ipv4: Use SPDX-license-identifier and remove the License description

Add the SPDX-license-identifier license agreement to more clearly
express the content of the license representative.

Signed-off-by: Li zeming <[email protected]>
---
net/ipv4/inetpeer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index e9fed83e9b3c..141be6d94793 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* INETPEER - A storage for permanent information about peers
*
- * This source is covered by the GNU GPL, the same as all kernel sources.
- *
* Authors: Andrey V. Savochkin <[email protected]>
*/

--
2.18.2


2022-09-01 03:06:13

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] net: ipv4: Use SPDX-license-identifier and remove the License description

On Tue, 30 Aug 2022 09:50:54 +0800 Li zeming wrote:
> Add the SPDX-license-identifier license agreement to more clearly
> express the content of the license representative.

> - * This source is covered by the GNU GPL, the same as all kernel sources.

Is the kernel code covered by GPL-2-or-later by default or GPL-2?
IIRC Linus was not a fan of GPL-3, and my reading of the first few
paragraphs of license-rules.rst is that default is indeed just 2.0.

Could you find a reference to some document or discussion which would
support that "the same as all kernel sources" means 2-or-later, and add
it to the patch description?

2022-09-01 07:28:55

by Li zeming

[permalink] [raw]
Subject: Re: [PATCH] net: ipv4: Use SPDX-license-identifier and remove the License description


sorry, I haven't found a more authoritative description about the GPL-2.0-or-later license. I saw some GPL-2.0-or-later licenses added in the patch submission. If I'm not sure if this is feasible, I will change it. Re-send patch for GPL-2.0 license.