Skip to contentSkip to conversation

iio: mma8452: replace license description with SPDX specifier

PATCH In review Martin Kepplinger 4 participants 6 messages Nov 18, 2017 – Dec 10, 2017 IIO

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iio: mma8452: replace license description with SPDX specifier

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

---

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(-)
drivers/iio/accel/mma8452.c +1 -3
index bfd4bc806fc2..62c0d4646c16 100644
@@ -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 <[email protected]>
  * Copyright 2014 Peter Meerwald <[email protected]>
  *
- * 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
  */
Signature · 1 line
2.11.0
maintainer
#1 lore raw
Quoted 6 lines · On Sat, 18 Nov 2017 10:10:11 +0100 Martin Kepplinger <[email protected]> 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.

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

Quoted 38 lines

---

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(-)
drivers/iio/accel/mma8452.c +1 -3
index bfd4bc806fc2..62c0d4646c16 100644
@@ -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 <[email protected]>
  * Copyright 2014 Peter Meerwald <[email protected]>
  *
- * 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 lore raw
Quoted 7 lines · Jonathan Cameron
Quoted 4 lines · On Sat, 18 Nov 2017 10:10:11 +0100 Martin Kepplinger <[email protected]> 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.

Quoted 8 lines
Quoted 2 lines

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

Signature · 2 lines
Cordially
Philippe Ombredanne
#3 lore raw
Quoted 5 lines

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

Quoted 31 lines · Philippe Ombredanne
Quoted 7 lines · Jonathan Cameron
Quoted 4 lines · On Sat, 18 Nov 2017 10:10:11 +0100 Martin Kepplinger <[email protected]> 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.

Quoted 8 lines
Quoted 2 lines

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

maintainer
#4 lore raw
Quoted 6 lines · On Sat, 18 Nov 2017 23:23:57 -0500 harinath Nampally <[email protected]>…
Quoted 5 lines

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

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

Quoted 34 lines
Quoted 31 lines · Philippe Ombredanne
Quoted 7 lines · Jonathan Cameron
Quoted 4 lines · On Sat, 18 Nov 2017 10:10:11 +0100 Martin Kepplinger <[email protected]> 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.

Quoted 8 lines
Quoted 2 lines

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

#5 lore raw
Quoted 8 lines · Jonathan Cameron
Quoted 5 lines · On Sat, 18 Nov 2017 23:23:57 -0500 harinath Nampally <[email protected]>…
Quoted 5 lines

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

Quoted 7 lines
Quoted 1 line

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.

Signature · 2 lines
Cordially
Philippe Ombredanne