[PATCH v3] provide rule for finding refcounters

From: Elena Reshetova
Date: Wed Aug 16 2017 - 07:52:35 EST


changes in v3:
Removed unnessesary rule 4 conditions pointed by Julia.

changes in v2:
Following the suggestion from Julia the first rule is split into
2. The output does not differ that much between these two versions,
but rule became more precise.

Elena Reshetova (1):
Coccinelle: add atomic_as_refcounter script

scripts/coccinelle/api/atomic_as_refcounter.cocci | 133 ++++++++++++++++++++++
1 file changed, 133 insertions(+)
create mode 100644 scripts/coccinelle/api/atomic_as_refcounter.cocci

--
2.7.4