android_kernel_xiaomi_sm8350/drivers/pci
Michael Ellerman a56bc69a18 PCI: Fix incorrect argument order to list_add_tail() in PCI dynamic ID code
The code for dynamically assigning new ids to PCI drivers,
store_new_id(), calls list_add_tail() with the list head and new node
arguments in reversed order.

The result is that every new id written essentially overwrites the
previous list of ids.

Caught with the help of Rusty's "horribly bad" list_node patch:
 http://lkml.org/lkml/2007/6/10/10

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 15:03:17 -07:00
..
hotplug cpqphp: Use PCI_CLASS_REVISION instead of PCI_REVISION_ID for read 2007-10-12 15:03:16 -07:00
pcie pciehp: remove CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE 2007-10-12 15:03:14 -07:00
.gitignore
access.c
bus.c
hotplug.c
htirq.c
Kconfig
Makefile
msi.c
msi.h
pci-acpi.c ACPI: restore CONFIG_ACPI_SLEEP 2007-07-29 16:53:59 -07:00
pci-driver.c PCI: Fix incorrect argument order to list_add_tail() in PCI dynamic ID code 2007-10-12 15:03:17 -07:00
pci-sysfs.c Remove capability.h from mm.h 2007-07-16 09:05:45 -07:00
pci.c PCI: is_power_of_2 in drivers/pci/pci.c 2007-10-12 15:03:15 -07:00
pci.h PCI: Move prototypes for pci_bus_find_capability to include/linux/pci.h 2007-08-22 14:48:40 -07:00
probe.c PCI: remove devinit from pci_read_bridge_bases 2007-09-11 04:22:16 -07:00
proc.c Remove capability.h from mm.h 2007-07-16 09:05:45 -07:00
quirks.c PCI: re-enable onboard sound on "MSI K8T Neo2-FIR" 2007-10-12 15:03:16 -07:00
remove.c
rom.c
search.c use no_pci_devices() in pci/search.c 2007-07-16 09:05:41 -07:00
setup-bus.c
setup-irq.c
setup-res.c
syscall.c