commit | b56e5355091d799d58ce8b40fdf62dc9c2159981 | [log] [tgz] |
---|---|---|
author | Elena Reshetova <elena.reshetova@intel.com> | Fri Sep 01 12:40:20 2017 +0300 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Jul 18 01:18:05 2018 +0900 |
tree | ecd536928f09f92521341531ad606d1592a0a7e7 | |
parent | 9d3cce1e8b8561fed5f383d22a4d6949db4eadbe [diff] |
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>