]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ec6a4db5ae7c2dfbe83efd8758229962985f1f7
tree8bb939d3f24a92eebbaea87e8ac4ff7b47a2bf9c
parentb633b108f66b5b93951321f851cfd6fb81eadfd5
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]