commit | f58c17c202e7aec9623754a7ec0b0669e043b838 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Wed May 08 13:50:49 2019 +0200 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Mon Jul 08 02:25:59 2019 +0900 |
tree | d76e8f19554581e508b798a8342fdfe849c6ccef | |
parent | 30a70e806d938ed9fd9bfd2074c4458e63efc3ed [diff] |
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>