diff options
author | Matthias Maennich <maennich@google.com> | 2019-07-25 12:17:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-30 18:34:15 +0200 |
commit | ef349abd91c1b37f87639170bcd9d11fe3ac58ff (patch) | |
tree | 49b996c8ed3684e1a9dcc5639f772830d00830e3 /scripts/coccinelle | |
parent | kernel/configs: Replace GPL boilerplate code with SPDX identifier (diff) | |
download | linux-ef349abd91c1b37f87639170bcd9d11fe3ac58ff.tar.xz linux-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.cocci | 1 |
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 // |