e 5d6c5ff7aa828aeb7d3470ee969c6888526d5ee1 parent 4045159253a49a56d117148d67bc86a72762a0d3 author Nicolas Palix 1282664342 +0200 committer Michal Marek 1283247473 +0200 Coccinelle: Add iterators/itnull.cocci Many iterators have the property that the first argument is always bound to a real list element, never NULL. False positives arise for some iterators that do not have this property, or in cases when the loop cursor is reassigned. The latter should only happen when the matched code is on the way to a loop exit (break, goto, or return). Signed-off-by: Nicolas Palix Signed-off-by: Julia Lawall Signed-off-by: Michal Marek ¯