diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-09 22:40:51 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-07-13 23:06:34 +0200 |
commit | 6fcd5f2c006496fbbb43175f2f6775f2d38bf459 (patch) | |
tree | 3ca22f475e0cfb08ababef95ee347a5d7e21eba8 /scripts/coccicheck | |
parent | scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOT (diff) | |
download | linux-6fcd5f2c006496fbbb43175f2f6775f2d38bf459.tar.xz linux-6fcd5f2c006496fbbb43175f2f6775f2d38bf459.zip |
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>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions