aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2012-07-09 22:40:51 +0200
committerMichal Marek <[email protected]>2012-07-13 23:06:34 +0200
commit6fcd5f2c006496fbbb43175f2f6775f2d38bf459 (patch)
tree3ca22f475e0cfb08ababef95ee347a5d7e21eba8 /lib/mpi/mpi-internal.h
parentf1f455047940e59b3aea102e17ae4c0f9286aa76 (diff)
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 <[email protected]> Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions