public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Norbert Kiesel <nkiesel@tbdnetworks.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] fix to debug code in arch/i386/pci/legacy.c
Date: Sat, 12 Jul 2003 01:24:59 -0700	[thread overview]
Message-ID: <20030712082459.GA10941@defiant> (raw)

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;

                 reply	other threads:[~2003-07-12  8:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030712082459.GA10941@defiant \
    --to=nkiesel@tbdnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox