Re: [RFC PATCH v2, part 2 03/18] PCI, hotplug: use hotplug-safeiterators to walk PCI buses

From: Yinghai Lu
Date: Tue May 14 2013 - 14:57:31 EST


On Tue, May 14, 2013 at 9:51 AM, Jiang Liu <liuj97@xxxxxxxxx> wrote:
> Enhance PCI hotplug drivers to use hotplug-safe iterators to walk
> PCI buses.
>
> In other words, replace pci_find_bus(), pci_find_next_bus() and
> pci_root_buses with pci_bus_exists(), pci_get_bus(), pci_get_next_bus()
> and pci_get_next_root_bus() etc.
>
> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxx>
> Cc: Yinghai Lu <yinghai@xxxxxxxxxx>
> Cc: Jiri Kosina <jkosina@xxxxxxx>
> Cc: Masanari Iida <standby24x7@xxxxxxxxx>
> Cc: "Rafael J. Wysocki" <rafael.j.wysocki@xxxxxxxxx>
> Cc: Toshi Kani <toshi.kani@xxxxxx>
> Cc: linux-pci@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---
> drivers/pci/hotplug-pci.c | 2 +-
> drivers/pci/hotplug/ibmphp_core.c | 8 +++++---
> drivers/pci/hotplug/ibmphp_ebda.c | 8 ++++++--
> drivers/pci/hotplug/sgi_hotplug.c | 3 ++-
> drivers/pci/hotplug/shpchp_sysfs.c | 2 +-
> 5 files changed, 15 insertions(+), 8 deletions(-)

Acked-by: Yinghai Lu <yinghai@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/