• Takayoshi Kouchi's avatar
    [PATCH] [PATCH] PCI Hotplug patch to drivers/pci/names.c · 12518563
    Takayoshi Kouchi authored
    I found that both compaq and ibm PCI hotplug driver call pci_scan_slot(),
    which eventually call pci_name_device() in drivers/pci/names.c.
    
    pci_name_device() is declared as __devinit while other data are
    declared as __initdata.
    This may result in undefined behavior for example, /proc/pci.
    12518563
names.c 3.03 KB