Messages in this thread | | | Date | Tue, 14 May 2013 11:57:24 -0700 | Subject | Re: [RFC PATCH v2, part 2 03/18] PCI, hotplug: use hotplug-safe iterators to walk PCI buses | From | Yinghai Lu <> |
| |
On Tue, May 14, 2013 at 9:51 AM, Jiang Liu <liuj97@gmail.com> 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@huawei.com> > Cc: Yinghai Lu <yinghai@kernel.org> > Cc: Jiri Kosina <jkosina@suse.cz> > Cc: Masanari Iida <standby24x7@gmail.com> > Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> > Cc: Toshi Kani <toshi.kani@hp.com> > Cc: linux-pci@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > 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@kernel.org>
| |