summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2013-07-24 02:24:56 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-24 04:18:47 (GMT)
commit9feed42e93d2625db86423cedf8b4b2bed00779e (patch)
treeb0b7601fdd59bacaa9bbfb84b941eefe0ba1043b /fs
parent807a827d4e7455a40e8f56ec2a67c57a91cab9f7 (diff)
downloadlinux-fsl-qoriq-9feed42e93d2625db86423cedf8b4b2bed00779e.tar.xz
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 <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions