Linux-SPDX Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier
@ 2019-07-25 10:17 Matthias Maennich
  2019-07-25 10:21 ` Greg KH
  2019-07-25 11:21 ` Julia Lawall
  0 siblings, 2 replies; 3+ messages in thread
From: Matthias Maennich @ 2019-07-25 10:17 UTC (permalink / raw)
  To: linux-kernel
  Cc: gregkh, Matthias Maennich, linux-spdx, Elena Reshetova,
	Julia Lawall, Gilles Muller, Nicolas Palix, Michal Marek, cocci

Add the missing GPLv2 SPDX license identifier.

It appears this single file was missing from 7f904d7e1f3e ("treewide:
Replace GPLv2 boilerplate/reference with SPDX - rule 505"), which
addressed all other files in scripts/coccinelle. Hence I added
GPL-2.0-only consitently with the mentioned patch.

Cc: linux-spdx@vger.kernel.org
Cc: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
---
 scripts/coccinelle/api/atomic_as_refcounter.cocci | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/coccinelle/api/atomic_as_refcounter.cocci b/scripts/coccinelle/api/atomic_as_refcounter.cocci
index 988120e0fd67..0f78d94abc35 100644
--- a/scripts/coccinelle/api/atomic_as_refcounter.cocci
+++ b/scripts/coccinelle/api/atomic_as_refcounter.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 // Check if refcount_t type and API should be used
 // instead of atomic_t type when dealing with refcounters
 //
-- 
2.22.0.657.g960e92d24f-goog


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

* Re: [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier
  2019-07-25 10:17 [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier Matthias Maennich
@ 2019-07-25 10:21 ` Greg KH
  2019-07-25 11:21 ` Julia Lawall
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2019-07-25 10:21 UTC (permalink / raw)
  To: Matthias Maennich
  Cc: linux-kernel, linux-spdx, Elena Reshetova, Julia Lawall,
	Gilles Muller, Nicolas Palix, Michal Marek, cocci

On Thu, Jul 25, 2019 at 11:17:04AM +0100, Matthias Maennich wrote:
> Add the missing GPLv2 SPDX license identifier.
> 
> It appears this single file was missing from 7f904d7e1f3e ("treewide:
> Replace GPLv2 boilerplate/reference with SPDX - rule 505"), which
> addressed all other files in scripts/coccinelle. Hence I added
> GPL-2.0-only consitently with the mentioned patch.
> 
> Cc: linux-spdx@vger.kernel.org
> Cc: Elena Reshetova <elena.reshetova@intel.com>
> Signed-off-by: Matthias Maennich <maennich@google.com>
> ---
>  scripts/coccinelle/api/atomic_as_refcounter.cocci | 1 +
>  1 file changed, 1 insertion(+)

I can take this through the spdx tree if no one objects.

thanks,

greg k-h

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

* Re: [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier
  2019-07-25 10:17 [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier Matthias Maennich
  2019-07-25 10:21 ` Greg KH
@ 2019-07-25 11:21 ` Julia Lawall
  1 sibling, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2019-07-25 11:21 UTC (permalink / raw)
  To: Matthias Maennich
  Cc: linux-kernel, gregkh, linux-spdx, Elena Reshetova, Julia Lawall,
	Gilles Muller, Nicolas Palix, Michal Marek, cocci



On Thu, 25 Jul 2019, Matthias Maennich wrote:

> Add the missing GPLv2 SPDX license identifier.
>
> It appears this single file was missing from 7f904d7e1f3e ("treewide:
> Replace GPLv2 boilerplate/reference with SPDX - rule 505"), which
> addressed all other files in scripts/coccinelle. Hence I added
> GPL-2.0-only consitently with the mentioned patch.
>
> Cc: linux-spdx@vger.kernel.org
> Cc: Elena Reshetova <elena.reshetova@intel.com>
> Signed-off-by: Matthias Maennich <maennich@google.com>

Acked-by: Julia Lawall <julia.lawall@lip6.fr>

Thanks!


> ---
>  scripts/coccinelle/api/atomic_as_refcounter.cocci | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/scripts/coccinelle/api/atomic_as_refcounter.cocci b/scripts/coccinelle/api/atomic_as_refcounter.cocci
> index 988120e0fd67..0f78d94abc35 100644
> --- a/scripts/coccinelle/api/atomic_as_refcounter.cocci
> +++ b/scripts/coccinelle/api/atomic_as_refcounter.cocci
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  // Check if refcount_t type and API should be used
>  // instead of atomic_t type when dealing with refcounters
>  //
> --
> 2.22.0.657.g960e92d24f-goog
>
>

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 10:17 [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier Matthias Maennich
2019-07-25 10:21 ` Greg KH
2019-07-25 11:21 ` Julia Lawall

Linux-SPDX Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-spdx/0 linux-spdx/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-spdx linux-spdx/ https://lore.kernel.org/linux-spdx \
		linux-spdx@vger.kernel.org linux-spdx@archiver.kernel.org
	public-inbox-index linux-spdx


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


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