commit | 43f5e46c8e74046a969a3811d7760d1988a8f4bf | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Aug 21 12:17:34 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 06 13:29:11 2012 -0700 |
tree | 1d4f49197feaf0cd667703fe930c15da4e81f566 | |
parent | b49c32ba2ca3b51ddbb863ff139adca6b85b7543 [diff] |
vme: vme_ca91cx42.c: use list_for_each_safe() when delete list items Since we will be removing items off the list using list_del() we need to use a safer version of the list_for_each() macro aptly named list_for_each_safe(). We should use the safe macro if the loop involves deletions of items. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>