2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/scripts/coccinelle/iterators
Julia Lawall 6fcd5f2c00 scripts/coccinelle: list iterator variable semantic patch
If list_for_each_entry, etc complete a traversal of the list, the iterator
variable ends up pointing to an address at an offset from the list head,
and not a meaningful structure.  Thus this value should not be used after
the end of the iterator.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2012-07-13 23:06:34 +02:00
..
fen.cocci scripts/coccinelle: improve the coverage of some semantic patches 2012-01-15 00:05:46 +01:00
itnull.cocci scripts/coccinelle: improve the coverage of some semantic patches 2012-01-15 00:05:46 +01:00
list_entry_update.cocci Coccinelle: Add iterators/list_entry_update.cocci 2010-08-31 11:37:53 +02:00
use_after_iter.cocci scripts/coccinelle: list iterator variable semantic patch 2012-07-13 23:06:34 +02:00