lkml.org 
[lkml]   [2013]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH v2, part 2 03/18] PCI, hotplug: use hotplug-safe iterators to walk PCI buses
From
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>


\
 
 \ /
  Last update: 2013-05-14 21:21    [W:0.122 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site