linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mux: adgs1408: use the correct SPDX license identifier
       [not found] <209EE0F380CD554C95B3E2532952872D29ABC204@NWD2MBX7.ad.analog.com>
@ 2018-08-20 10:38 ` Peter Rosin
  2018-08-20 11:14   ` Caprioru, Mircea
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rosin @ 2018-08-20 10:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Rosin, Mircea Caprioru

The file is GPL v2 only.

Signed-off-by: Peter Rosin <peda@axentia.se>
---
 drivers/mux/adgs1408.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

On 2018-08-20 12:16, Caprioru, Mircea wrote:
> Peter Rosin wrote:
>> I just noticed a discrepancy in the license annotations in your
>> driver. The SPDX license identifier says GPL-2.0-or-later, and
>> I assume that is correct and that MODULE_LICENSE("GPL") without
>> the v2 specifier, as in this patch, is the correct thing to do?
>
> The file should be v2. It might of slipped from the final version.

Ok, so I read that as if it should be v2 *only* and not v2-or-later.
I.e. the reverse of the original patch. But since these things can
be sensitive, I'd like confirmation that this new patch is what is
correct...

Note that MODULE_LICENSE("GPL") means GPL v2 *or later* (GPL v1 is
not on the table), while MODULE_LICENSE("GPL v2") means GPL v2 *only*.
See include/linux/module.h for details.

Cheers,
Peter

diff --git a/drivers/mux/adgs1408.c b/drivers/mux/adgs1408.c
index 0f7cf54e3234..fe0377bb83eb 100644
--- a/drivers/mux/adgs1408.c
+++ b/drivers/mux/adgs1408.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
+// SPDX-License-Identifier: GPL-2.0
 /*
  * ADGS1408/ADGS1409 SPI MUX driver
  *
-- 
2.11.0


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

* RE: [PATCH] mux: adgs1408: use the correct SPDX license identifier
  2018-08-20 10:38 ` [PATCH] mux: adgs1408: use the correct SPDX license identifier Peter Rosin
@ 2018-08-20 11:14   ` Caprioru, Mircea
  2018-08-20 12:30     ` Peter Rosin
  0 siblings, 1 reply; 3+ messages in thread
From: Caprioru, Mircea @ 2018-08-20 11:14 UTC (permalink / raw)
  To: Peter Rosin, linux-kernel

Ok now I understand.  We can go with GPL-2.0-or-later and MODULE_LICENSE("GPL"). 
We are pretty flexible regarding what license we should use upstream wise. If you feel we should change it in some other way we can do that too. 

Regards,
Mircea

-----Original Message-----
From: Peter Rosin [mailto:peda@axentia.se] 
Sent: Monday, August 20, 2018 1:38 PM
To: linux-kernel@vger.kernel.org
Cc: Peter Rosin <peda@axentia.se>; Caprioru, Mircea <Mircea.Caprioru@analog.com>
Subject: [PATCH] mux: adgs1408: use the correct SPDX license identifier

The file is GPL v2 only.

Signed-off-by: Peter Rosin <peda@axentia.se>
---
 drivers/mux/adgs1408.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

On 2018-08-20 12:16, Caprioru, Mircea wrote:
> Peter Rosin wrote:
>> I just noticed a discrepancy in the license annotations in your 
>> driver. The SPDX license identifier says GPL-2.0-or-later, and I 
>> assume that is correct and that MODULE_LICENSE("GPL") without the v2 
>> specifier, as in this patch, is the correct thing to do?
>
> The file should be v2. It might of slipped from the final version.

Ok, so I read that as if it should be v2 *only* and not v2-or-later.
I.e. the reverse of the original patch. But since these things can be sensitive, I'd like confirmation that this new patch is what is correct...

Note that MODULE_LICENSE("GPL") means GPL v2 *or later* (GPL v1 is not on the table), while MODULE_LICENSE("GPL v2") means GPL v2 *only*.
See include/linux/module.h for details.

Cheers,
Peter

diff --git a/drivers/mux/adgs1408.c b/drivers/mux/adgs1408.c index 0f7cf54e3234..fe0377bb83eb 100644
--- a/drivers/mux/adgs1408.c
+++ b/drivers/mux/adgs1408.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
+// SPDX-License-Identifier: GPL-2.0
 /*
  * ADGS1408/ADGS1409 SPI MUX driver
  *
--
2.11.0



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

* Re: [PATCH] mux: adgs1408: use the correct SPDX license identifier
  2018-08-20 11:14   ` Caprioru, Mircea
@ 2018-08-20 12:30     ` Peter Rosin
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Rosin @ 2018-08-20 12:30 UTC (permalink / raw)
  To: Caprioru, Mircea, linux-kernel

On 2018-08-20 13:14, Caprioru, Mircea wrote:
> Ok now I understand.  We can go with GPL-2.0-or-later and MODULE_LICENSE("GPL"). 
> We are pretty flexible regarding what license we should use upstream wise. If> you feel we should change it in some other way we can do that too. 

Good, I'll just add your ack on the original patch. Both v2 and v2-or-later
are obviously fine and I don't care either way, I just didn't like the
discrepancy. The SPDX id is normally trumping the module-license tag so the
original patch feels like the lesser change. No need to stir the bowl...

Cheers,
Peter

> 
> Regards,
> Mircea
> 
> -----Original Message-----
> From: Peter Rosin [mailto:peda@axentia.se] 
> Sent: Monday, August 20, 2018 1:38 PM
> To: linux-kernel@vger.kernel.org
> Cc: Peter Rosin <peda@axentia.se>; Caprioru, Mircea <Mircea.Caprioru@analog.com>
> Subject: [PATCH] mux: adgs1408: use the correct SPDX license identifier
> 
> The file is GPL v2 only.
> 
> Signed-off-by: Peter Rosin <peda@axentia.se>
> ---
>  drivers/mux/adgs1408.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> On 2018-08-20 12:16, Caprioru, Mircea wrote:
>> Peter Rosin wrote:
>>> I just noticed a discrepancy in the license annotations in your 
>>> driver. The SPDX license identifier says GPL-2.0-or-later, and I 
>>> assume that is correct and that MODULE_LICENSE("GPL") without the v2 
>>> specifier, as in this patch, is the correct thing to do?
>>
>> The file should be v2. It might of slipped from the final version.
> 
> Ok, so I read that as if it should be v2 *only* and not v2-or-later.
> I.e. the reverse of the original patch. But since these things can be sensitive, I'd like confirmation that this new patch is what is correct...
> 
> Note that MODULE_LICENSE("GPL") means GPL v2 *or later* (GPL v1 is not on the table), while MODULE_LICENSE("GPL v2") means GPL v2 *only*.
> See include/linux/module.h for details.
> 
> Cheers,
> Peter
> 
> diff --git a/drivers/mux/adgs1408.c b/drivers/mux/adgs1408.c index 0f7cf54e3234..fe0377bb83eb 100644
> --- a/drivers/mux/adgs1408.c
> +++ b/drivers/mux/adgs1408.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0-or-later
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * ADGS1408/ADGS1409 SPI MUX driver
>   *
> --
> 2.11.0
> 
> 


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <209EE0F380CD554C95B3E2532952872D29ABC204@NWD2MBX7.ad.analog.com>
2018-08-20 10:38 ` [PATCH] mux: adgs1408: use the correct SPDX license identifier Peter Rosin
2018-08-20 11:14   ` Caprioru, Mircea
2018-08-20 12:30     ` Peter Rosin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).