All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c
@ 2018-01-30  0:40 Bjorn Helgaas
  2018-01-30  0:40 ` [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement Bjorn Helgaas
  2018-02-08 14:17 ` [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c Philippe Ombredanne
  0 siblings, 2 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2018-01-30  0:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Kate Stewart, linux-s390, linux-pci, Sebastian Ott, linux-kernel,
	Philippe Ombredanne, Thomas Gleixner, Gerald Schaefer

I previously posted patches [1] to add SPDX tags to all drivers/pci files
except drivers/pci/hotplug/s390_pci_hpc.c.  I omitted that one because it
contained only a "License: GPL" comment, which I thought was ambiguous.

However, I think it is actually unambiguous because the file was added with
a 'MODULE_LICENSE("GPL")', and include/linux/module.h shows that means "GPL
v2 or later".

So this patch adds the GPL-2.0+ tag to the file.  I plan to include this
for v4.16 unless somebody objects.

[1] https://lkml.kernel.org/r/20180126212536.31503.43805.stgit@bhelgaas-glaptop.roam.corp.google.com

---

Bjorn Helgaas (1):
      PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement


 drivers/pci/hotplug/s390_pci_hpc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

* [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement
  2018-01-30  0:40 [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c Bjorn Helgaas
@ 2018-01-30  0:40 ` Bjorn Helgaas
  2018-01-30  7:13   ` Greg Kroah-Hartman
                     ` (2 more replies)
  2018-02-08 14:17 ` [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c Philippe Ombredanne
  1 sibling, 3 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2018-01-30  0:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Kate Stewart, linux-s390, linux-pci, Sebastian Ott, linux-kernel,
	Philippe Ombredanne, Thomas Gleixner, Gerald Schaefer

From: Bjorn Helgaas <bhelgaas@google.com>

7441b0627e22 ("s390/pci: PCI hotplug support via SCLP") added
s390_pci_hpc.c, which included this license information:

  +MODULE_LICENSE("GPL");

Based on "git show 7441b0627e22:include/linux/module.h", that "GPL" string
means "GPL v2 or later":

   *      "GPL"                           [GNU Public License v2 or later]

0729dcf24832 ("s390: hotplug: make pci_hpc explicitly non-modular")
subsequently replaced the MODULE_LICENSE() with a "License: GPL" comment.

Add SPDX GPL-2.0+ and remove the "License: GPL" comment, relying on the
assertion in b24413180f56 ("License cleanup: add SPDX GPL-2.0 license
identifier to files with no license") that the SPDX identifier may be used
instead of the full boilerplate text.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 drivers/pci/hotplug/s390_pci_hpc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/pci/hotplug/s390_pci_hpc.c b/drivers/pci/hotplug/s390_pci_hpc.c
index 530d0e49f2ed..ffdc2977395d 100644
--- a/drivers/pci/hotplug/s390_pci_hpc.c
+++ b/drivers/pci/hotplug/s390_pci_hpc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * PCI Hot Plug Controller Driver for System z
  *
@@ -5,8 +6,6 @@
  *
  * Author(s):
  *   Jan Glauber <jang@linux.vnet.ibm.com>
- *
- * License: GPL
  */
 
 #define KMSG_COMPONENT "zpci"

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

* Re: [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement
  2018-01-30  0:40 ` [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement Bjorn Helgaas
@ 2018-01-30  7:13   ` Greg Kroah-Hartman
  2018-01-30 12:44   ` Sebastian Ott
  2018-02-08 14:20   ` Philippe Ombredanne
  2 siblings, 0 replies; 6+ messages in thread
From: Greg Kroah-Hartman @ 2018-01-30  7:13 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Kate Stewart, linux-s390, linux-pci, Sebastian Ott, linux-kernel,
	Philippe Ombredanne, Thomas Gleixner, Gerald Schaefer

On Mon, Jan 29, 2018 at 06:40:52PM -0600, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> 7441b0627e22 ("s390/pci: PCI hotplug support via SCLP") added
> s390_pci_hpc.c, which included this license information:
> 
>   +MODULE_LICENSE("GPL");
> 
> Based on "git show 7441b0627e22:include/linux/module.h", that "GPL" string
> means "GPL v2 or later":
> 
>    *      "GPL"                           [GNU Public License v2 or later]
> 
> 0729dcf24832 ("s390: hotplug: make pci_hpc explicitly non-modular")
> subsequently replaced the MODULE_LICENSE() with a "License: GPL" comment.
> 
> Add SPDX GPL-2.0+ and remove the "License: GPL" comment, relying on the
> assertion in b24413180f56 ("License cleanup: add SPDX GPL-2.0 license
> identifier to files with no license") that the SPDX identifier may be used
> instead of the full boilerplate text.
> 
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

* Re: [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement
  2018-01-30  0:40 ` [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement Bjorn Helgaas
  2018-01-30  7:13   ` Greg Kroah-Hartman
@ 2018-01-30 12:44   ` Sebastian Ott
  2018-02-08 14:20   ` Philippe Ombredanne
  2 siblings, 0 replies; 6+ messages in thread
From: Sebastian Ott @ 2018-01-30 12:44 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Greg Kroah-Hartman, Kate Stewart, linux-s390, linux-pci,
	linux-kernel, Philippe Ombredanne, Thomas Gleixner,
	Gerald Schaefer

On Mon, 29 Jan 2018, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> 7441b0627e22 ("s390/pci: PCI hotplug support via SCLP") added
> s390_pci_hpc.c, which included this license information:
> 
>   +MODULE_LICENSE("GPL");
> 
> Based on "git show 7441b0627e22:include/linux/module.h", that "GPL" string
> means "GPL v2 or later":
> 
>    *      "GPL"                           [GNU Public License v2 or later]
> 
> 0729dcf24832 ("s390: hotplug: make pci_hpc explicitly non-modular")
> subsequently replaced the MODULE_LICENSE() with a "License: GPL" comment.
> 
> Add SPDX GPL-2.0+ and remove the "License: GPL" comment, relying on the
> assertion in b24413180f56 ("License cleanup: add SPDX GPL-2.0 license
> identifier to files with no license") that the SPDX identifier may be used
> instead of the full boilerplate text.
> 
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com>

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

* Re: [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c
  2018-01-30  0:40 [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c Bjorn Helgaas
  2018-01-30  0:40 ` [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement Bjorn Helgaas
@ 2018-02-08 14:17 ` Philippe Ombredanne
  1 sibling, 0 replies; 6+ messages in thread
From: Philippe Ombredanne @ 2018-02-08 14:17 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Greg Kroah-Hartman, Kate Stewart, linux-s390, linux-pci,
	Sebastian Ott, LKML, Thomas Gleixner, Gerald Schaefer

Bjorn,

On Tue, Jan 30, 2018 at 1:40 AM, Bjorn Helgaas <helgaas@kernel.org> wrote:
> I previously posted patches [1] to add SPDX tags to all drivers/pci files
> except drivers/pci/hotplug/s390_pci_hpc.c.  I omitted that one because it
> contained only a "License: GPL" comment, which I thought was ambiguous.
>
> However, I think it is actually unambiguous because the file was added with
> a 'MODULE_LICENSE("GPL")', and include/linux/module.h shows that means "GPL
> v2 or later".
>
> So this patch adds the GPL-2.0+ tag to the file.  I plan to include this
> for v4.16 unless somebody objects.

As I as said in a previous email, context matters a lot in these case
and you made the right choice.
When there is a MODULE_LICENSE and a super terse "GPL" license notice,
the two taken together can provide the proper context e.g. here
GPL-2.0+ rather than a less common GPL-1.0+

Thank you for your efforts there!

-- 
Cordially
Philippe Ombredanne

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

* Re: [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement
  2018-01-30  0:40 ` [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement Bjorn Helgaas
  2018-01-30  7:13   ` Greg Kroah-Hartman
  2018-01-30 12:44   ` Sebastian Ott
@ 2018-02-08 14:20   ` Philippe Ombredanne
  2 siblings, 0 replies; 6+ messages in thread
From: Philippe Ombredanne @ 2018-02-08 14:20 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Greg Kroah-Hartman, Kate Stewart, linux-s390, linux-pci,
	Sebastian Ott, LKML, Thomas Gleixner, Gerald Schaefer,
	Jan Glauber

On Tue, Jan 30, 2018 at 1:40 AM, Bjorn Helgaas <helgaas@kernel.org> wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
>
> 7441b0627e22 ("s390/pci: PCI hotplug support via SCLP") added
> s390_pci_hpc.c, which included this license information:
>
>   +MODULE_LICENSE("GPL");
>
> Based on "git show 7441b0627e22:include/linux/module.h", that "GPL" string
> means "GPL v2 or later":
>
>    *      "GPL"                           [GNU Public License v2 or later]
>
> 0729dcf24832 ("s390: hotplug: make pci_hpc explicitly non-modular")
> subsequently replaced the MODULE_LICENSE() with a "License: GPL" comment.
>
> Add SPDX GPL-2.0+ and remove the "License: GPL" comment, relying on the
> assertion in b24413180f56 ("License cleanup: add SPDX GPL-2.0 license
> identifier to files with no license") that the SPDX identifier may be used
> instead of the full boilerplate text.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
>  drivers/pci/hotplug/s390_pci_hpc.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/pci/hotplug/s390_pci_hpc.c b/drivers/pci/hotplug/s390_pci_hpc.c
> index 530d0e49f2ed..ffdc2977395d 100644
> --- a/drivers/pci/hotplug/s390_pci_hpc.c
> +++ b/drivers/pci/hotplug/s390_pci_hpc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+
>  /*
>   * PCI Hot Plug Controller Driver for System z
>   *
> @@ -5,8 +6,6 @@
>   *
>   * Author(s):
>   *   Jan Glauber <jang@linux.vnet.ibm.com>
> - *
> - * License: GPL
>   */
>
>  #define KMSG_COMPONENT "zpci"

Thanks!
I have CCed too: Jan Glauber <jang@linux.vnet.ibm.com> too just in case!


Reviewed-by: Philippe Ombredanne <pombredanne@nexB.com>

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

end of thread, other threads:[~2018-02-08 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-30  0:40 [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c Bjorn Helgaas
2018-01-30  0:40 ` [PATCH] PCI: Add SPDX GPL-2.0+ to replace implicit GPL v2 or later statement Bjorn Helgaas
2018-01-30  7:13   ` Greg Kroah-Hartman
2018-01-30 12:44   ` Sebastian Ott
2018-02-08 14:20   ` Philippe Ombredanne
2018-02-08 14:17 ` [PATCH] PCI: Add SPDX tag for s390_pci_hpc.c Philippe Ombredanne

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.