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

Li zeming posted 1 patch 3 years, 7 months ago
net/ipv4/inetpeer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] net: ipv4: Use SPDX-license-identifier and remove the License description
Posted by Li zeming 3 years, 7 months ago
Add the SPDX-license-identifier license agreement to more clearly
express the content of the license representative.

Signed-off-by: Li zeming <zeming@nfschina.com>
---
 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 <saw@msu.ru>
  */
 
-- 
2.18.2
Re: [PATCH] net: ipv4: Use SPDX-license-identifier and remove the License description
Posted by Jakub Kicinski 3 years, 7 months ago
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?
Re: [PATCH] net: ipv4: Use SPDX-license-identifier and remove the License description
Posted by Li zeming 3 years, 7 months ago
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.