From: Julia Lawall Date: Mon, 9 Jul 2012 20:40:51 +0000 (+0200) Subject: scripts/coccinelle: list iterator variable semantic patch X-Git-Tag: v3.6-rc1~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fcd5f2c006496fbbb43175f2f6775f2d38bf459;p=pandora-kernel.git 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 Signed-off-by: Michal Marek --- Reading git-diff-tree failed