]> 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)
commit0eef3485d542f8750cbce3031ed05707fb8cfb47
tree7383b3dc08116199a253c6f5bfda4a83ebd69d7f
parentf19dc2c5557864fdf862ab27ddfd74af88913afc
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