Messages in this thread Patch in this message | | | Subject | Re: [PATCH] PCI Update for 2.6.2-rc2 | Date | Thu, 29 Jan 2004 17:31:49 -0800 | From | Greg KH <> |
| |
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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |