Thread (7 messages) 7 messages, 3 authors, 2021-02-10

Re: [PATCH] gpio: uapi: use the preferred SPDX license identifier

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-02-04 14:38:36
Also in: lkml

On Thu, Feb 04, 2021 at 03:15:50PM +0100, Bartosz Golaszewski wrote:
On Thu, Feb 4, 2021 at 2:47 PM Greg Kroah-Hartman
[off-list ref] wrote:
quoted
On Thu, Feb 04, 2021 at 01:43:57PM +0100, Bartosz Golaszewski wrote:
quoted
From: Bartosz Golaszewski <redacted>

GPL-2.0 license identifier is deprecated, let's use the preferred
identifier: GPL-2.0-only.

Signed-off-by: Bartosz Golaszewski <redacted>
---
Hi Kent, Greg,

I started working on making libgpiod licensing reuse-compliant and noticed
that the reuse-tool is telling me that the GPL-2.0 SPDX identifier in the
GPIO uapi header is deprecated. Since I'm required to copy the header
verbatim into libgpiod's repository, I think we need to fix that at source
first.

 include/uapi/linux/gpio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h
index e4eb0b8c5cf9..3e01ededbf36 100644
--- a/include/uapi/linux/gpio.h
+++ b/include/uapi/linux/gpio.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
No, there is no need to convert the kernel to the "latest" spdx level,
when we started out there was no "-only" nonsense (hint no other license
has that crud), and "GPL-2.0" is a totally valid summary of the license.

So please don't go changing it all in-kernel, that way lies madness.
Let's finish fixing up ALL kernel files before worrying about what SPDX
"version" we are at.
But then, the reuse script is telling me:

    Unfortunately, your project is not compliant with version 3.0 of
the REUSE Specification :-(

because I'm using a deprecated license. :(
Go yell at the REUSE people, there's no requirement to have the most
recent version of SPDX, is there?   :)

And if that's the only thing wrong with the project when running 'reuse
lint' then you should be happy, no one will complain at all.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help