On Mon, 14 Aug 2017, Elena Reshetova wrote:
> atomic_as_refcounter.cocci script allows detecting
> cases when refcount_t type and API should be used
> instead of atomic_t.
>
> Signed-off-by: Elena Reshetova
> ---
> scripts/coccinelle/api/atomic_as_refcounter.cocci |
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
atomic_as_refcounter.cocci script allows detecting
cases when refcount_t type and API should be used
instead of atomic_t.
Signed-off-by: Elena Reshetova
---
scripts/coccinelle/api/atomic_as_refcounter.cocci | 148 ++
1 file changed, 148