All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: trace: ring-buffer-design.rst: use the new SPDX tag
@ 2020-08-26  7:28 Mauro Carvalho Chehab
  2020-08-26 12:47 ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2020-08-26  7:28 UTC (permalink / raw)
  To: Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, linux-kernel, Jonathan Corbet,
	Frank A. Cancio Bello, Joel Fernandes (Google),
	Steven Rostedt (VMware)

SPDX v3.10 gained support for GFDL-1.2 with no invariant sections:

	https://spdx.org/licenses/GFDL-1.2-invariants-only.html

Let's use it, instead of keeping a license text for this file.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 Documentation/trace/ring-buffer-design.rst | 26 +---------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/Documentation/trace/ring-buffer-design.rst b/Documentation/trace/ring-buffer-design.rst
index 9c8d22a53d6c..a76435610b58 100644
--- a/Documentation/trace/ring-buffer-design.rst
+++ b/Documentation/trace/ring-buffer-design.rst
@@ -1,28 +1,4 @@
-.. This file is dual-licensed: you can use it either under the terms
-.. of the GPL 2.0 or the GFDL 1.2 license, at your option. Note that this
-.. dual licensing only applies to this file, and not this project as a
-.. whole.
-..
-.. a) This file is free software; you can redistribute it and/or
-..    modify it under the terms of the GNU General Public License as
-..    published by the Free Software Foundation version 2 of
-..    the License.
-..
-..    This file is distributed in the hope that it will be useful,
-..    but WITHOUT ANY WARRANTY; without even the implied warranty of
-..    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-..    GNU General Public License for more details.
-..
-.. Or, alternatively,
-..
-.. b) Permission is granted to copy, distribute and/or modify this
-..    document under the terms of the GNU Free Documentation License,
-..    Version 1.2 version published by the Free Software
-..    Foundation, with no Invariant Sections, no Front-Cover Texts
-..    and no Back-Cover Texts. A copy of the license is included at
-..    Documentation/userspace-api/media/fdl-appendix.rst.
-..
-.. TODO: replace it to GPL-2.0 OR GFDL-1.2 WITH no-invariant-sections
+.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-invariants-only
 
 ===========================
 Lockless Ring Buffer Design
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: trace: ring-buffer-design.rst: use the new SPDX tag
  2020-08-26  7:28 [PATCH] docs: trace: ring-buffer-design.rst: use the new SPDX tag Mauro Carvalho Chehab
@ 2020-08-26 12:47 ` Jonathan Corbet
  2020-08-26 13:31   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Corbet @ 2020-08-26 12:47 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Linux Doc Mailing List, linux-kernel, Frank A. Cancio Bello,
	Joel Fernandes (Google), Steven Rostedt (VMware),
	Thomas Gleixner, Christoph Hellwig

On Wed, 26 Aug 2020 09:28:24 +0200
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote:

> SPDX v3.10 gained support for GFDL-1.2 with no invariant sections:
> 
> 	https://spdx.org/licenses/GFDL-1.2-invariants-only.html
> 
> Let's use it, instead of keeping a license text for this file.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
>  Documentation/trace/ring-buffer-design.rst | 26 +---------------------
>  1 file changed, 1 insertion(+), 25 deletions(-)

[CC expanded]

If we're going to do this, I think we should also add GFDL to the right
place in the LICENSES directory - deprecated/ or at best dual/.  But even
SPDX (https://spdx.org/licenses/GFDL-1.2.html) says this license is
deprecated.

Beyond that, https://spdx.org/licenses/GFDL-1.2-invariants-only.html seems
to disagree with your interpretation; it seems you would want 
GFDL-1.2-only-no-invariants ?

jon
> 
> diff --git a/Documentation/trace/ring-buffer-design.rst b/Documentation/trace/ring-buffer-design.rst
> index 9c8d22a53d6c..a76435610b58 100644
> --- a/Documentation/trace/ring-buffer-design.rst
> +++ b/Documentation/trace/ring-buffer-design.rst
> @@ -1,28 +1,4 @@
> -.. This file is dual-licensed: you can use it either under the terms
> -.. of the GPL 2.0 or the GFDL 1.2 license, at your option. Note that this
> -.. dual licensing only applies to this file, and not this project as a
> -.. whole.
> -..
> -.. a) This file is free software; you can redistribute it and/or
> -..    modify it under the terms of the GNU General Public License as
> -..    published by the Free Software Foundation version 2 of
> -..    the License.
> -..
> -..    This file is distributed in the hope that it will be useful,
> -..    but WITHOUT ANY WARRANTY; without even the implied warranty of
> -..    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -..    GNU General Public License for more details.
> -..
> -.. Or, alternatively,
> -..
> -.. b) Permission is granted to copy, distribute and/or modify this
> -..    document under the terms of the GNU Free Documentation License,
> -..    Version 1.2 version published by the Free Software
> -..    Foundation, with no Invariant Sections, no Front-Cover Texts
> -..    and no Back-Cover Texts. A copy of the license is included at
> -..    Documentation/userspace-api/media/fdl-appendix.rst.
> -..
> -.. TODO: replace it to GPL-2.0 OR GFDL-1.2 WITH no-invariant-sections
> +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-invariants-only
>  
>  ===========================
>  Lockless Ring Buffer Design

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: trace: ring-buffer-design.rst: use the new SPDX tag
  2020-08-26 12:47 ` Jonathan Corbet
@ 2020-08-26 13:31   ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2020-08-26 13:31 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: Linux Doc Mailing List, linux-kernel, Frank A. Cancio Bello,
	Joel Fernandes (Google), Steven Rostedt (VMware),
	Thomas Gleixner, Christoph Hellwig

Em Wed, 26 Aug 2020 06:47:33 -0600
Jonathan Corbet <corbet@lwn.net> escreveu:

> On Wed, 26 Aug 2020 09:28:24 +0200
> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote:
> 
> > SPDX v3.10 gained support for GFDL-1.2 with no invariant sections:
> > 
> > 	https://spdx.org/licenses/GFDL-1.2-invariants-only.html
> > 
> > Let's use it, instead of keeping a license text for this file.
> > 
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> > ---
> >  Documentation/trace/ring-buffer-design.rst | 26 +---------------------
> >  1 file changed, 1 insertion(+), 25 deletions(-)  
> 
> [CC expanded]
> 
> If we're going to do this, I think we should also add GFDL to the right
> place in the LICENSES directory - deprecated/ or at best dual/.  But even
> SPDX (https://spdx.org/licenses/GFDL-1.2.html) says this license is
> deprecated.

Right. I'll send a separate patch adding it to deprecated/
together with GFDL-1.1-no-invariants-or-later, which is used
at the media uAPI documentation. There, GFDL 1.1 is used both
together with GPL (dual licensed is required for new files) and 
alone (for the legacy document files).

> 
> Beyond that, https://spdx.org/licenses/GFDL-1.2-invariants-only.html seems
> to disagree with your interpretation; it seems you would want 
> GFDL-1.2-only-no-invariants ?

Thanks for reviewing! Yeah, indeed I mangled this one. It
should be, instead:

	GFDL-1.2-no-invariants-only

https://spdx.org/licenses/GFDL-1.2-no-invariants-only.html

I'll send a second version fix it.

Thanks,
Mauro

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-26 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26  7:28 [PATCH] docs: trace: ring-buffer-design.rst: use the new SPDX tag Mauro Carvalho Chehab
2020-08-26 12:47 ` Jonathan Corbet
2020-08-26 13:31   ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.