Linux-IIO Archive on lore.kernel.org
 help / Atom feed
* [PATCH] Staging: iio: adis16240: fixed a SPDX identifier tag mistake
@ 2018-12-19 21:07 Amir Mahdi Ghorbanian
  2018-12-22 17:38 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Amir Mahdi Ghorbanian @ 2018-12-19 21:07 UTC (permalink / raw)
  To: lars
  Cc: Michael.Hennerich, jic23, knaack.h, pmeerw, gregkh, linux-iio,
	linux-kernel, Amir Mahdi Ghorbanian

Fixed a coding style mistake by adding the SPDX identifier tag to the
first line of the code.

Signed-off-by: Amir Mahdi Ghorbanian <indigoomega021@gmail.com>
---
 drivers/staging/iio/accel/adis16240.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c
index 24e525f..2c40189 100644
--- a/drivers/staging/iio/accel/adis16240.c
+++ b/drivers/staging/iio/accel/adis16240.c
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * ADIS16240 Programmable Impact Sensor and Recorder driver
  *
  * Copyright 2010 Analog Devices Inc.
  *
- * Licensed under the GPL-2 or later.
  */
 
 #include <linux/interrupt.h>
-- 
2.7.4


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

* Re: [PATCH] Staging: iio: adis16240: fixed a SPDX identifier tag mistake
  2018-12-19 21:07 [PATCH] Staging: iio: adis16240: fixed a SPDX identifier tag mistake Amir Mahdi Ghorbanian
@ 2018-12-22 17:38 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2018-12-22 17:38 UTC (permalink / raw)
  To: Amir Mahdi Ghorbanian
  Cc: lars, Michael.Hennerich, knaack.h, pmeerw, gregkh, linux-iio,
	linux-kernel, Barry Song

On Wed, 19 Dec 2018 13:07:31 -0800
Amir Mahdi Ghorbanian <indigoomega021@gmail.com> wrote:

> Fixed a coding style mistake by adding the SPDX identifier tag to the
> first line of the code.
> 
> Signed-off-by: Amir Mahdi Ghorbanian <indigoomega021@gmail.com>
*groans*  Another one where the MODULE_LICENSE is different.
Michael, Analog copyright, so if you want to express a view on
the intent that would be great.

My feeling would be that the MODULE_LICENSE is the wrong one given it's
easier to get that wrong than to add an 'or later' to the text..

On these I generally want an ack from the copyright holder anyway
just to be sure everything is in order.

Thanks,

Jonathan

> ---
>  drivers/staging/iio/accel/adis16240.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c
> index 24e525f..2c40189 100644
> --- a/drivers/staging/iio/accel/adis16240.c
> +++ b/drivers/staging/iio/accel/adis16240.c
> @@ -1,9 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0+
>  /*
>   * ADIS16240 Programmable Impact Sensor and Recorder driver
>   *
>   * Copyright 2010 Analog Devices Inc.
>   *
> - * Licensed under the GPL-2 or later.
>   */
>  
>  #include <linux/interrupt.h>


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19 21:07 [PATCH] Staging: iio: adis16240: fixed a SPDX identifier tag mistake Amir Mahdi Ghorbanian
2018-12-22 17:38 ` Jonathan Cameron

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org linux-iio@archiver.kernel.org
	public-inbox-index linux-iio


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/ public-inbox