public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] fix max PCI bus number
Date: Tue, 28 Jan 2003 17:01:33 -0800	[thread overview]
Message-ID: <3E3727ED.2020400@us.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

The Stanford checker found this.
-- 
Dave Hansen
haveblue@us.ibm.com

[-- Attachment #2: numa-max-busnum-2.5.59-0.patch --]
[-- Type: text/plain, Size: 651 bytes --]

--- linux-2.5.59-clean/arch/i386/pci/numa.c	Thu Jan 16 18:21:44 2003
+++ linux-2.5.59-numaq-mjb1/arch/i386/pci/numa.c	Tue Jan 28 16:31:18 2003
@@ -17,7 +17,7 @@
 {
 	unsigned long flags;
 
-	if (!value || (bus > 255) || (dev > 31) || (fn > 7) || (reg > 255))
+	if (!value || (bus > MAX_MP_BUSSES) || (dev > 31) || (fn > 7) || (reg > 255))
 		return -EINVAL;
 
 	spin_lock_irqsave(&pci_config_lock, flags);
@@ -45,7 +45,7 @@
 {
 	unsigned long flags;
 
-	if ((bus > 255) || (dev > 31) || (fn > 7) || (reg > 255)) 
+	if ((bus > MAX_MP_BUSSES) || (dev > 31) || (fn > 7) || (reg > 255)) 
 		return -EINVAL;
 
 	spin_lock_irqsave(&pci_config_lock, flags);

             reply	other threads:[~2003-01-29  0:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29  1:01 Dave Hansen [this message]
2003-01-29  3:26 ` [PATCH] fix max PCI bus number Randy.Dunlap

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=3E3727ED.2020400@us.ibm.com \
    --to=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.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