linux/scripts/coccinelle
Elena Reshetova b56e535509 Coccinelle: add atomic_as_refcounter script
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 <elena.reshetova@intel.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-07-18 01:18:05 +09:00
..
api Coccinelle: add atomic_as_refcounter script 2018-07-18 01:18:05 +09:00
free coccinelle: devm_free: reduce false positives 2018-02-07 23:53:09 +09:00
iterators coccinelle: use exists to improve efficiency 2017-11-14 23:21:16 +09:00
locks coccinelle: mini_lock: improve performance 2018-05-22 23:00:23 +09:00
misc Coccinelle: array_size: report even if include is missing 2018-01-16 23:38:52 +09:00
null coccinelle: deref_null: improve performance 2018-05-22 23:00:23 +09:00
tests coccinelle: tests: unsigned value cannot be lesser than zero 2016-01-12 17:47:47 +01:00