diff options
| author | Yijing Wang <[email protected]> | 2013-04-12 05:44:17 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2013-04-12 15:38:25 -0600 |
| commit | d65eba6a7a769bb939303969267cbf1c916358f5 (patch) | |
| tree | a440a76282198945d081550115861a6f6e820048 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 981cf9ea9a6a6c422e51fc04bedad00b7792ccbc (diff) | |
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 <[email protected]>
Signed-off-by: Jiang Liu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Yinghai Lu <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Toshi Kani <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions