From: Wei Yongjun Date: Tue, 21 Aug 2012 04:17:34 +0000 (+0800) Subject: vme: vme_ca91cx42.c: use list_for_each_safe() when delete list items X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~76^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43f5e46c8e74046a969a3811d7760d1988a8f4bf;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed