coccinelle: devm_free: reduce false positives
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 1 Feb 2018 09:48:52 +0000 (10:48 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 7 Feb 2018 14:53:09 +0000 (23:53 +0900)
commite856f3a7d706b37d8be9b41e41b19f4919570e57
treeb26c47ce8d86c2ca2dc8f9d6a25467dfa939f0fa
parent0a5f41767444cc3b4fc5573921ab914b4f78baaa
coccinelle: devm_free: reduce false positives

Some files use both a non-devm allocation and a devm_allocation.  Don't
complain about a free when the same function contains a non-devm
allocation.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/coccinelle/free/devm_free.cocci