Commit dc7884f3 authored by Julia Lawall's avatar Julia Lawall Committed by Masahiro Yamada

scripts: coccinelle: check for redeclaration

Avoid reporting on the use of an iterator index variable when
the variable is redeclared.
Signed-off-by: default avatarJulia Lawall <>
Signed-off-by: default avatarMasahiro Yamada <>
parent a5003571
......@@ -35,6 +35,7 @@ iterator name hlist_for_each_entry_from;
iterator name hlist_for_each_entry_safe;
statement S;
position p1,p2;
type T;
......@@ -125,6 +126,8 @@ sizeof(<+...c...+>)
T c;
c = E
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment