linux/scripts/coccinelle
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
..
api coccinelle: kstrdup: Fix typo in warning messages 2019-07-08 02:25:59 +09:00
free coccinelle: put_device: Add a cast to an expression for an assignment 2019-07-08 02:25:59 +09:00
iterators scripts: coccinelle: check for redeclaration 2019-01-06 09:46:51 +09:00
locks coccinelle: mini_lock: improve performance 2018-05-22 23:00:23 +09:00
misc scripts: coccinelle: Fix description of badty.cocci 2019-03-28 23:46:56 +09:00
null coccinelle: deref_null: improve performance 2018-05-22 23:00:23 +09:00
tests Coccinelle: doubletest: reduce side effect false positives 2018-08-14 08:58:49 +09:00