Re: [PATCH v2 2/9] PCI: split registration of PCI bus devices intotwo stages

From: Yinghai Lu
Date: Sat Sep 15 2012 - 14:48:34 EST


On Sat, Sep 15, 2012 at 1:03 AM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu <liuj97@xxxxxxxxx> wrote:
>
> failing path in pci_create_root_bus is not handled.
>
> you could try to move
>
> device_initialize(&b->dev);
>
> to
> pci_add_new_bus and pci_create_root_bus instead.

sth like attached...

Attachment: jiang_hotplug_rework_2.patch
Description: Binary data