android_kernel_samsung_msm8976/scripts/coccinelle
Nicolas Palix 5c34050188 Coccinelle: Add iterators/list_entry_update.cocci
list_for_each_entry uses its first argument to get from one element of
the list to the next, so it is usually not a good idea to reassign it.
The first rule finds such a reassignment and the second rule checks
that there is a path from the reassignment back to the top of the loop.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-08-31 11:37:53 +02:00
..
alloc
iterators Coccinelle: Add iterators/list_entry_update.cocci 2010-08-31 11:37:53 +02:00
locks Coccinelle: Add locks/mini_lock.cocci 2010-08-31 11:37:53 +02:00
null Coccinelle: Move deref_null.cocci to a more appropriate directory 2010-08-31 11:37:53 +02:00
err_cast.cocci Add scripts/coccinelle/err_cast.cocci 2010-06-12 00:00:29 +02:00
resource_size.cocci Add scripts/coccinelle/resource_size.cocci 2010-06-12 00:00:29 +02:00