linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] iio: mma8452: replace license description with SPDX specifier
@ 2017-11-18  9:10 Martin Kepplinger
  2017-11-18 15:53 ` Jonathan Cameron
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Kepplinger @ 2017-11-18  9:10 UTC (permalink / raw)
  To: jic23, harinath922
  Cc: pmeerw, lars, knaack.h, linux-iio, linux-kernel, Martin Kepplinger

This replaces the custom license information text with the appropriate
SPDX identifier. While the information here stays the same, it is easier
to read.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
---

Sorry I had forgotten to add the mailing lists and got Peter's Ack
privately. -.-  But thanks Peter for the quick response!

Again, an Acked-by from Harinath would be good here too.

thanks

                             martin

revision history
----------------
v2: adds Peter's Acked-by and adds all mailing lists to CC


 drivers/iio/accel/mma8452.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
index bfd4bc806fc2..62c0d4646c16 100644
--- a/drivers/iio/accel/mma8452.c
+++ b/drivers/iio/accel/mma8452.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * mma8452.c - Support for following Freescale / NXP 3-axis accelerometers:
  *
@@ -13,9 +14,6 @@
  * Copyright 2015 Martin Kepplinger <martink@posteo.de>
  * Copyright 2014 Peter Meerwald <pmeerw@pmeerw.net>
  *
- * This file is subject to the terms and conditions of version 2 of
- * the GNU General Public License.  See the file COPYING in the main
- * directory of this archive for more details.
  *
  * TODO: orientation events
  */
-- 
2.11.0

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

* Re: [PATCH v2] iio: mma8452: replace license description with SPDX specifier
  2017-11-18  9:10 [PATCH v2] iio: mma8452: replace license description with SPDX specifier Martin Kepplinger
@ 2017-11-18 15:53 ` Jonathan Cameron
  2017-11-18 16:29   ` Philippe Ombredanne
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Cameron @ 2017-11-18 15:53 UTC (permalink / raw)
  To: Martin Kepplinger
  Cc: harinath922, pmeerw, lars, knaack.h, linux-iio, linux-kernel

On Sat, 18 Nov 2017 10:10:11 +0100
Martin Kepplinger <martink@posteo.de> wrote:

> This replaces the custom license information text with the appropriate
> SPDX identifier. While the information here stays the same, it is easier
> to read.
> 
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>

I'm not 100% sure the intent of the SPDX work is to remove
existing licence text.  So far the big sets have only been
adding tags to files missing their licenses entirely...

Anyone found any specific guidance on this?

Jonathan
> ---
> 
> Sorry I had forgotten to add the mailing lists and got Peter's Ack
> privately. -.-  But thanks Peter for the quick response!
> 
> Again, an Acked-by from Harinath would be good here too.
> 
> thanks
> 
>                              martin
> 
> revision history
> ----------------
> v2: adds Peter's Acked-by and adds all mailing lists to CC
> 
> 
>  drivers/iio/accel/mma8452.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
> index bfd4bc806fc2..62c0d4646c16 100644
> --- a/drivers/iio/accel/mma8452.c
> +++ b/drivers/iio/accel/mma8452.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * mma8452.c - Support for following Freescale / NXP 3-axis accelerometers:
>   *
> @@ -13,9 +14,6 @@
>   * Copyright 2015 Martin Kepplinger <martink@posteo.de>
>   * Copyright 2014 Peter Meerwald <pmeerw@pmeerw.net>
>   *
> - * This file is subject to the terms and conditions of version 2 of
> - * the GNU General Public License.  See the file COPYING in the main
> - * directory of this archive for more details.
>   *
>   * TODO: orientation events
>   */

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

* Re: [PATCH v2] iio: mma8452: replace license description with SPDX specifier
  2017-11-18 15:53 ` Jonathan Cameron
@ 2017-11-18 16:29   ` Philippe Ombredanne
  2017-11-19  4:23     ` harinath Nampally
  0 siblings, 1 reply; 6+ messages in thread
From: Philippe Ombredanne @ 2017-11-18 16:29 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Martin Kepplinger, harinath922, pmeerw, lars, knaack.h,
	linux-iio, LKML, Greg Kroah-Hartman, Thomas Gleixner

On Sat, Nov 18, 2017 at 4:53 PM, Jonathan Cameron <jic23@kernel.org> wrote:
> On Sat, 18 Nov 2017 10:10:11 +0100
> Martin Kepplinger <martink@posteo.de> wrote:
>
>> This replaces the custom license information text with the appropriate
>> SPDX identifier. While the information here stays the same, it is easier
>> to read.
>>
>> Signed-off-by: Martin Kepplinger <martink@posteo.de>
>> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
>
> I'm not 100% sure the intent of the SPDX work is to remove
> existing licence text.  So far the big sets have only been
> adding tags to files missing their licenses entirely...
>
> Anyone found any specific guidance on this?

Jonathan:
you might want to check the doc patches from tglx [1] as well as
several related patches from greg k-h such as these  [2] and his
initial pull [3]

To get a lot of details you can check all the recent SPDX-related posts too [4]

[1] https://marc.info/?l=linux-kernel&m=151051532322831&w=2
[2] https://marc.info/?l=linux-kernel&m=151068111802610&w=2
[3] https://marc.info/?l=linux-kernel&m=150963579219623&w=2
[4] https://marc.info/?l=linux-kernel&w=2&r=1&s=spdx&q=b
-- 
Cordially
Philippe Ombredanne

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

* Re: [PATCH v2] iio: mma8452: replace license description with SPDX specifier
  2017-11-18 16:29   ` Philippe Ombredanne
@ 2017-11-19  4:23     ` harinath Nampally
  2017-12-10 15:08       ` Jonathan Cameron
  0 siblings, 1 reply; 6+ messages in thread
From: harinath Nampally @ 2017-11-19  4:23 UTC (permalink / raw)
  To: Philippe Ombredanne
  Cc: Jonathan Cameron, Martin Kepplinger, Peter Meerwald-Stadler,
	lars, knaack.h, linux-iio, LKML, Greg Kroah-Hartman,
	Thomas Gleixner

> This replaces the custom license information text with the appropriate
> SPDX identifier. While the information here stays the same, it is easier
> to read.
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Acked-by: Harinath Nampally <harinath922@gmail.com>

On Sat, Nov 18, 2017 at 11:29 AM, Philippe Ombredanne
<pombredanne@nexb.com> wrote:
> On Sat, Nov 18, 2017 at 4:53 PM, Jonathan Cameron <jic23@kernel.org> wrote:
>> On Sat, 18 Nov 2017 10:10:11 +0100
>> Martin Kepplinger <martink@posteo.de> wrote:
>>
>>> This replaces the custom license information text with the appropriate
>>> SPDX identifier. While the information here stays the same, it is easier
>>> to read.
>>>
>>> Signed-off-by: Martin Kepplinger <martink@posteo.de>
>>> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
>>
>> I'm not 100% sure the intent of the SPDX work is to remove
>> existing licence text.  So far the big sets have only been
>> adding tags to files missing their licenses entirely...
>>
>> Anyone found any specific guidance on this?
>
> Jonathan:
> you might want to check the doc patches from tglx [1] as well as
> several related patches from greg k-h such as these  [2] and his
> initial pull [3]
>
> To get a lot of details you can check all the recent SPDX-related posts too [4]
>
> [1] https://marc.info/?l=linux-kernel&m=151051532322831&w=2
> [2] https://marc.info/?l=linux-kernel&m=151068111802610&w=2
> [3] https://marc.info/?l=linux-kernel&m=150963579219623&w=2
> [4] https://marc.info/?l=linux-kernel&w=2&r=1&s=spdx&q=b
> --
> Cordially
> Philippe Ombredanne

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

* Re: [PATCH v2] iio: mma8452: replace license description with SPDX specifier
  2017-11-19  4:23     ` harinath Nampally
@ 2017-12-10 15:08       ` Jonathan Cameron
  2017-12-10 19:00         ` Philippe Ombredanne
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Cameron @ 2017-12-10 15:08 UTC (permalink / raw)
  To: harinath Nampally
  Cc: Philippe Ombredanne, Martin Kepplinger, Peter Meerwald-Stadler,
	lars, knaack.h, linux-iio, LKML, Greg Kroah-Hartman,
	Thomas Gleixner

On Sat, 18 Nov 2017 23:23:57 -0500
harinath Nampally <harinath922@gmail.com> wrote:

> > This replaces the custom license information text with the appropriate
> > SPDX identifier. While the information here stays the same, it is easier
> > to read.
> > Signed-off-by: Martin Kepplinger <martink@posteo.de>
> > Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>  
> Acked-by: Harinath Nampally <harinath922@gmail.com>

Applied.  I still not totally sure that the intent of introducing SPDX
specifiers was to replace rather than supplement the license text.
It's been pointed out for instance that some of the BSD licenses have
explicit names in the text relevant to a particular file.  For GPL v2
that isn't the case though so I suppose this one does no harm.

Jonathan
> 
> On Sat, Nov 18, 2017 at 11:29 AM, Philippe Ombredanne
> <pombredanne@nexb.com> wrote:
> > On Sat, Nov 18, 2017 at 4:53 PM, Jonathan Cameron <jic23@kernel.org> wrote:  
> >> On Sat, 18 Nov 2017 10:10:11 +0100
> >> Martin Kepplinger <martink@posteo.de> wrote:
> >>  
> >>> This replaces the custom license information text with the appropriate
> >>> SPDX identifier. While the information here stays the same, it is easier
> >>> to read.
> >>>
> >>> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> >>> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>  
> >>
> >> I'm not 100% sure the intent of the SPDX work is to remove
> >> existing licence text.  So far the big sets have only been
> >> adding tags to files missing their licenses entirely...
> >>
> >> Anyone found any specific guidance on this?  
> >
> > Jonathan:
> > you might want to check the doc patches from tglx [1] as well as
> > several related patches from greg k-h such as these  [2] and his
> > initial pull [3]
> >
> > To get a lot of details you can check all the recent SPDX-related posts too [4]
> >
> > [1] https://marc.info/?l=linux-kernel&m=151051532322831&w=2
> > [2] https://marc.info/?l=linux-kernel&m=151068111802610&w=2
> > [3] https://marc.info/?l=linux-kernel&m=150963579219623&w=2
> > [4] https://marc.info/?l=linux-kernel&w=2&r=1&s=spdx&q=b
> > --
> > Cordially
> > Philippe Ombredanne  

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

* Re: [PATCH v2] iio: mma8452: replace license description with SPDX specifier
  2017-12-10 15:08       ` Jonathan Cameron
@ 2017-12-10 19:00         ` Philippe Ombredanne
  0 siblings, 0 replies; 6+ messages in thread
From: Philippe Ombredanne @ 2017-12-10 19:00 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: harinath Nampally, Martin Kepplinger, Peter Meerwald-Stadler,
	Lars-Peter Clausen, Hartmut Knaack, linux-iio, LKML,
	Greg Kroah-Hartman, Thomas Gleixner

On Sun, Dec 10, 2017 at 4:08 PM, Jonathan Cameron <jic23@kernel.org> wrote:
> On Sat, 18 Nov 2017 23:23:57 -0500
> harinath Nampally <harinath922@gmail.com> wrote:
>
>> > This replaces the custom license information text with the appropriate
>> > SPDX identifier. While the information here stays the same, it is easier
>> > to read.
>> > Signed-off-by: Martin Kepplinger <martink@posteo.de>
>> > Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
>> Acked-by: Harinath Nampally <harinath922@gmail.com>
>
> Applied.  I still not totally sure that the intent of introducing SPDX
> specifiers was to replace rather than supplement the license text.
> It's been pointed out for instance that some of the BSD licenses have
> explicit names in the text relevant to a particular file.  For GPL v2
> that isn't the case though so I suppose this one does no harm.

Thanks!
There might be indeed a few corner cases that would require some
discussions and the best way would be to have a proper sign off of the
authors when possible in these cases (or all cases)
But to me at least, reducing the boilerplate to the max (such as
replacing 50 lines of legalese with a single SPDX id line) is a big
boost of content/noise ratio that we should thrive for.
-- 
Cordially
Philippe Ombredanne

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

end of thread, other threads:[~2017-12-10 19:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18  9:10 [PATCH v2] iio: mma8452: replace license description with SPDX specifier Martin Kepplinger
2017-11-18 15:53 ` Jonathan Cameron
2017-11-18 16:29   ` Philippe Ombredanne
2017-11-19  4:23     ` harinath Nampally
2017-12-10 15:08       ` Jonathan Cameron
2017-12-10 19:00         ` Philippe Ombredanne

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).