ChangeSet 1.1515, 2004/01/29 14:46:48-08:00, willy@debian.org [PATCH] PCI: fix pci_get_slot() bug On Wed, Dec 17, 2003 at 04:24:44PM -0800, Greg KH wrote: > I've applied the pci portions of this patch to my trees and will send it > on after 2.6.0 is out. James Bottomley found a bug in it; could you also apply: drivers/pci/search.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/pci/search.c b/drivers/pci/search.c --- a/drivers/pci/search.c Thu Jan 29 17:24:22 2004 +++ b/drivers/pci/search.c Thu Jan 29 17:24:22 2004 @@ -125,7 +125,7 @@ WARN_ON(in_interrupt()); spin_lock(&pci_bus_lock); - list_for_each(tmp, &bus->children) { + list_for_each(tmp, &bus->devices) { dev = pci_dev_b(tmp); if (dev->devfn == devfn) goto out;