Skip to contentSkip to conversation

coccinelle: api/atomic_as_refcounter: add SPDX License Identifier

PATCH In review Matthias Maennich 3 participants 3 messages Jul 25, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coccinelle: api/atomic_as_refcounter: add SPDX License Identifier

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.

---
 scripts/coccinelle/api/atomic_as_refcounter.cocci | 1 +
 1 file changed, 1 insertion(+)
scripts/coccinelle/api/atomic_as_refcounter.cocci +1 -0
index 988120e0fd67..0f78d94abc35 100644
@@ -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
 //
Signature · 1 line
2.22.0.657.g960e92d24f-goog
maintainer
#1 lore raw
Quoted 7 lines · Matthias Maennich

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.

Quoted 6 lines
---
 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

Acked-by on v1 1/1
#2 lore raw
In reply to Matthias Maennich
Quoted 10 lines · Matthias Maennich

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.

Thanks!

Quoted 17 lines
---
 scripts/coccinelle/api/atomic_as_refcounter.cocci | 1 +
 1 file changed, 1 insertion(+)
scripts/coccinelle/api/atomic_as_refcounter.cocci +1 -1
index 988120e0fd67..0f78d94abc35 100644
@@ -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