cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
* [Cocci] [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: Michal Marek, gregkh, Nicolas Palix, Matthias Maennich,
	linux-spdx, 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

_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

* Re: [Cocci] [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier
  2019-07-25 10:17 [Cocci] [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: Michal Marek, Nicolas Palix, linux-kernel, linux-spdx, 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
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

* Re: [Cocci] [PATCH] coccinelle: api/atomic_as_refcounter: add SPDX License Identifier
  2019-07-25 10:17 [Cocci] [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: Michal Marek, gregkh, Nicolas Palix, linux-kernel, linux-spdx, 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
>
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

end of thread, other threads:[~2019-07-25 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 10:17 [Cocci] [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

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