summaryrefslogtreecommitdiff
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-09-14 05:33:13 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 22:03:17 (GMT)
commita56bc69a182f501582557af7fad5bc882b1c856c (patch)
tree052d752634d36fc4997c7224cd9a546497c19490 /drivers/pci/msi.c
parent5b1ea82fa245d4be6409cdba7e522ecb0b966b3c (diff)
downloadlinux-a56bc69a182f501582557af7fad5bc882b1c856c.tar.xz
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>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions