summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2019-07-25 11:17:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-30 18:34:15 +0200
commitef349abd91c1b37f87639170bcd9d11fe3ac58ff (patch)
tree49b996c8ed3684e1a9dcc5639f772830d00830e3 /scripts/coccinelle
parent2b089bf8d19c66f70ae3b2d2d101be1ae49bfe24 (diff)
downloadlwn-ef349abd91c1b37f87639170bcd9d11fe3ac58ff.tar.gz
lwn-ef349abd91c1b37f87639170bcd9d11fe3ac58ff.zip
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. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/api/atomic_as_refcounter.cocci1
1 files changed, 1 insertions, 0 deletions
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
//