diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-04-12 05:44:17 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 15:38:25 -0600 |
commit | d65eba6a7a769bb939303969267cbf1c916358f5 (patch) | |
tree | a440a76282198945d081550115861a6f6e820048 /scripts/package | |
parent | 981cf9ea9a6a6c422e51fc04bedad00b7792ccbc (diff) | |
download | kernel_goldelico_gta04-d65eba6a7a769bb939303969267cbf1c916358f5.zip kernel_goldelico_gta04-d65eba6a7a769bb939303969267cbf1c916358f5.tar.gz kernel_goldelico_gta04-d65eba6a7a769bb939303969267cbf1c916358f5.tar.bz2 |
PCI: acpiphp: Use list_for_each_entry_safe() in acpiphp_sanitize_bus()
Function acpiphp_sanitize_bus() may call pci_stop_and_remove_bus_device(),
which in turn may remove device from bus->devices list. So walk the
bus->devices list with list_for_each_entry_safe().
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Yinghai Lu <yinghai@kernel.org>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: Toshi Kani <toshi.kani@hp.com>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions