Re: [PATCH v3 00/14] PCI: let the core manage slot names

From: Taku Izumi
Date: Fri Sep 26 2008 - 04:07:08 EST


Hi Alex,

This series applies against linux-next. I've tested this by loading
pci_slot and various hotplug drivers to ensure that the hotplug drivers
can successfully override the pci_slot names.

It seems that there are some bugs. Pciehp and shpchp modules can not
be loaded when the debug option is specified. Segmentation fault occurs
with stack dump.

pciehp_probe() or shpchp_probe()
-> init_slots()
-> get_power_status()
-> slot_name() : This is called when the debug option is specified.
-> hotplug_slot_name()
-> pci_slot_name(slot->pci_slot)
~~~~~~~~~~~~~~
Not initialized yet.

--
Best regards,

Taku Izumi <izumi.taku@xxxxxxxxxxxxxx>

--
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/