linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matt_Domsch@Dell.com
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] pci_read_bases trivial fixup
Date: Tue, 5 Dec 2000 07:55:58 -0600	[thread overview]
Message-ID: <CDF99E351003D311A8B0009027457F1403BF9A32@ausxmrr501.us.dell.com> (raw)

Linus, below is a trivial patch to pci.c, and applies against test12-pre5.
In -test11, tmp was declared.  Somehow by 12-pre4, it got lost.  This puts
it back.  It's needed in the BITS_PER_LONG == 64 case.

Thanks,
Matt Domsch
Dell Enterprise Systems Group
Linux Development Team



diff -burN linux/drivers/pci/pci.c.orig linux/drivers/pci/pci.c
--- linux/drivers/pci/pci.c.orig        Tue Dec  5 07:49:28 2000
+++ linux/drivers/pci/pci.c     Tue Dec  5 07:49:36 2000
@@ -540,7 +540,7 @@
 static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int
rom)
 {
        unsigned int pos, reg, next;
-       u32 l, sz;
+       u32 l, sz, tmp;
        struct resource *res;

        for(pos=0; pos<howmany; pos = next) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2000-12-05 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-05 13:55 Matt_Domsch [this message]
2000-12-05 15:49 ` [PATCH] pci_read_bases trivial fixup Ivan Kokshaysky

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=CDF99E351003D311A8B0009027457F1403BF9A32@ausxmrr501.us.dell.com \
    --to=matt_domsch@dell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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;
as well as URLs for NNTP newsgroup(s).