]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22a18c2eb90df4de8b92b2dd1d93fa2b611600cf
treeb26c47ce8d86c2ca2dc8f9d6a25467dfa939f0fa
parent5144b630b829596c72ba3a6e9f68f02cc262c08e
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