linux-stable/scripts/coccinelle/free
Wen Yang 7265f5b726 coccinelle: put_device: reduce false positives
Don't complain about a return when this function returns "&pdev->dev".

Fixes: da9cfb87a4 ("coccinelle: semantic code search for missing put_device()")
Reported-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-03-28 23:45:59 +09:00
..
clk_put.cocci coccinelle: semantic patch for missing clk_put 2012-02-25 00:07:11 +01:00
devm_free.cocci coccinelle: devm_free: reduce false positives 2018-02-07 23:53:09 +09:00
ifnullfree.cocci Coccinelle: ifnullfree: Trim the warning reported in report mode 2018-01-16 23:39:55 +09:00
iounmap.cocci coccinelle: semantic patch for missing iounmap 2012-02-25 00:07:11 +01:00
kfree.cocci coccinelle: also catch kzfree() issues 2016-06-21 11:43:32 +02:00
kfreeaddr.cocci coccinelle: also catch kzfree() issues 2016-06-21 11:43:32 +02:00
pci_free_consistent.cocci scripts: Coccinelle script for pci_free_consistent() 2013-07-03 15:50:38 +02:00
put_device.cocci coccinelle: put_device: reduce false positives 2019-03-28 23:45:59 +09:00