[PATCH v2] coccinelle: provide rule for finding refcounters

From: Elena Reshetova
Date: Mon Aug 14 2017 - 02:01:58 EST


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 | 148 ++++++++++++++++++++++
1 file changed, 148 insertions(+)
create mode 100644 scripts/coccinelle/api/atomic_as_refcounter.cocci

--
2.7.4