iio: mma8452: replace license description with SPDX specifier
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
@@ -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
Jonathan Cameron
maintainerQuoted 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.
Signed-off-by Martin Kepplinger <[email protected]>
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 CCdrivers/iio/accel/mma8452.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/iio/accel/mma8452.c +1
-3@@ -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 */
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
Signed-off-by Martin Kepplinger <[email protected]>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
harinath Nampally
Acked-byQuoted 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.
Signed-off-by Martin Kepplinger <[email protected]>
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
Signed-off-by Martin Kepplinger <[email protected]>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
Jonathan Cameron
maintainerQuoted 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.
Signed-off-by Martin Kepplinger <[email protected]>
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
Signed-off-by Martin Kepplinger <[email protected]>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
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.
Signed-off-by Martin Kepplinger <[email protected]>
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