Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758252Ab3ENS51 (ORCPT ); Tue, 14 May 2013 14:57:27 -0400 Received: from mail-ia0-f171.google.com ([209.85.210.171]:36459 "EHLO mail-ia0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753674Ab3ENS5Z (ORCPT ); Tue, 14 May 2013 14:57:25 -0400 MIME-Version: 1.0 In-Reply-To: <1368550322-1045-3-git-send-email-jiang.liu@huawei.com> References: <1368550322-1045-1-git-send-email-jiang.liu@huawei.com> <1368550322-1045-3-git-send-email-jiang.liu@huawei.com> Date: Tue, 14 May 2013 11:57:24 -0700 X-Google-Sender-Auth: FtPcWQnNtklBi6z5RHiRKtFELJc Message-ID: Subject: Re: [RFC PATCH v2, part 2 03/18] PCI, hotplug: use hotplug-safe iterators to walk PCI buses From: Yinghai Lu To: Jiang Liu Cc: Bjorn Helgaas , Jiang Liu , "Rafael J . Wysocki" , Greg Kroah-Hartman , Gu Zheng , Toshi Kani , Myron Stowe , Yijing Wang , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , Jiri Kosina , Masanari Iida , "Rafael J. Wysocki" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1241 Lines: 30 On Tue, May 14, 2013 at 9:51 AM, Jiang Liu 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 > Cc: Yinghai Lu > Cc: Jiri Kosina > Cc: Masanari Iida > Cc: "Rafael J. Wysocki" > Cc: Toshi Kani > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/