]> 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)
commit9a23c3799d45b6024c8b345bbf73d18a27bfa9b5
treeb26c47ce8d86c2ca2dc8f9d6a25467dfa939f0fa
parenta91ffe973892d88d1d3bf6ba7765aa77dd7a500f
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