]> git.baikalelectronics.ru Git - kernel.git/commit
scripts: coccinelle: check for redeclaration
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 28 Dec 2018 14:49:01 +0000 (15:49 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 6 Jan 2019 00:46:51 +0000 (09:46 +0900)
commit802a77f108f3d8aadea03f2c4779980a9e631087
tree7383b3dc08116199a253c6f5bfda4a83ebd69d7f
parent51721362c99faed7eb667379c373db607648d2fc
scripts: coccinelle: check for redeclaration

Avoid reporting on the use of an iterator index variable when
the variable is redeclared.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/coccinelle/iterators/use_after_iter.cocci