linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix to debug code in arch/i386/pci/legacy.c
@ 2003-07-12  8:24 Norbert Kiesel
  0 siblings, 0 replies; only message in thread
From: Norbert Kiesel @ 2003-07-12  8:24 UTC (permalink / raw)
  To: linux-kernel

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

--- linux-2.5/arch/i386/pci/legacy.c-orig	2003-07-04 13:42:36.000000000 -0700
+++ linux-2.5/arch/i386/pci/legacy.c	2003-07-04 13:42:48.000000000 -0700
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-12  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-12  8:24 [PATCH] fix to debug code in arch/i386/pci/legacy.c Norbert Kiesel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).