From: Gavin Shan Date: Wed, 24 Jul 2013 02:24:56 +0000 (+0800) Subject: powerpc/eeh: Use safe list traversal when walking EEH devices X-Git-Tag: v3.11-rc3~18^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9feed42e93d2625db86423cedf8b4b2bed00779e;p=pandora-kernel.git powerpc/eeh: Use safe list traversal when walking EEH devices Currently, we're trasversing the EEH devices list using list_for_each_entry(). That's not safe enough because the EEH devices might be removed from its parent PE while doing iteration. The patch replaces that with list_for_each_entry_safe(). Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed