public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix max PCI bus number
@ 2003-01-29  1:01 Dave Hansen
  2003-01-29  3:26 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Hansen @ 2003-01-29  1:01 UTC (permalink / raw)
  To: Martin J. Bligh, linux-kernel

[-- 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix max PCI bus number
  2003-01-29  1:01 [PATCH] fix max PCI bus number Dave Hansen
@ 2003-01-29  3:26 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-01-29  3:26 UTC (permalink / raw)
  To: Dave Hansen; +Cc: Martin J. Bligh, linux-kernel

On Tue, 28 Jan 2003, Dave Hansen wrote:

| The Stanford checker found this.

Yep, looks like my patch.  I'll remove it from my patchset.

-- 
~Randy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-29  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-29  1:01 [PATCH] fix max PCI bus number Dave Hansen
2003-01-29  3:26 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox