Re: [PATCH] PCI Update for 2.6.2-rc2

From: Greg KH
Date: Thu Jan 29 2004 - 21:03:17 EST


ChangeSet 1.1515, 2004/01/29 14:46:48-08:00, willy@xxxxxxxxxx

[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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/