linux_dsm_epyc7002/scripts/coccinelle/free
Markus Elfring f58c17c202 coccinelle: put_device: Add a cast to an expression for an assignment
Extend a when constraint in a SmPL rule so that an additional cast
is optionally excluded from source code searches for an expression
in assignments.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr>
Link: https://lore.kernel.org/lkml/alpine.DEB.2.21.1902160934400.3212@hadrien/
Link: https://systeme.lip6.fr/pipermail/cocci/2019-February/005592.html
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-07-08 02:25: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: Add a cast to an expression for an assignment 2019-07-08 02:25:59 +09:00