Skip to contentSkip to conversation

fix to debug code in arch/i386/pci/legacy.c

PATCH New Norbert Kiesel 1 participant 1 message Jul 12, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix to debug code in arch/i386/pci/legacy.c

Hi,

the following patch fixes a leftover from a patch which went in around 2.5.72 (emailed to the author of the patch which forgot to fix the debug code, but no reply).

--nk

arch/i386/pci/legacy.c renamed from arch/i386/pci/legacy.c-orig +1 -1
@@ -24,7 +24,7 @@
 		for (devfn = 0; devfn < 256; devfn += 8) {
 			if (!raw_pci_ops->read(0, n, devfn, PCI_VENDOR_ID, 2, &l) &&
 			    l != 0x0000 && l != 0xffff) {
-				DBG("Found device at %02x:%02x [%04x]\n", n, dev->devfn, l);
+				DBG("Found device at %02x:%02x [%04x]\n", n, devfn, l);
 				printk(KERN_INFO "PCI: Discovered peer bus %02x\n", n);
 				pci_scan_bus(n, &pci_root_ops, NULL);
 				break;