History

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.

Matthias Maennich committed 7 years ago

Commit ef349ab1 parent 2b089bf1 file · +1 −0Browse files

Unified · Split

scripts/coccinelle/api/atomic_as_refcounter.cocci+1−0
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1// Check if refcount_t type and API should be used2// Check if refcount_t type and API should be used
2// instead of atomic_t type when dealing with refcounters3// instead of atomic_t type when dealing with refcounters
3//4//