coccinelle: api: add kfree_mismatch script
authorDenis Efremov <efremov@linux.com>
Fri, 16 Oct 2020 08:54:42 +0000 (11:54 +0300)
committerJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 17 Oct 2020 21:11:06 +0000 (23:11 +0200)
commitedc05fe5559e9b79e64cfec3b960f6a913b73493
tree8bb939d3f24a92eebbaea87e8ac4ff7b47a2bf9c
parent82c2d81361ecd142a54e84a9da1e287113314a4f
coccinelle: api: add kfree_mismatch script

Check that alloc and free types of functions match each other.

Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
scripts/coccinelle/api/kfree_mismatch.cocci [new file with mode: 0644]