netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.4.26-pre2] pcnet32.c oops
@ 2004-03-10 21:12 Don Fry
  2004-03-12 18:30 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Don Fry @ 2004-03-10 21:12 UTC (permalink / raw)
  To: tsbogend, jgarzik, netdev

Please apply the following fix to 2.4.26-pre2.

When adding an additional device, a variable which has been removed
is accessed.  Adding the first device or a 4-port card works.
Adding a second device was not done in PCI hot plug testing. 

--- linux-2.4.26-pre2/drivers/net/orig.pcnet32.c	Mon Mar  8 08:59:18 2004
+++ linux-2.4.26-pre2/drivers/net/pcnet32.c	Wed Mar 10 13:09:19 2004
@@ -72,7 +72,7 @@
 
 MODULE_DEVICE_TABLE (pci, pcnet32_pci_tbl);
 
-int cards_found __initdata;
+static int cards_found __devinitdata;
 
 /* 
  * VLB I/O addresses 

-- 
Don Fry
brazilnut@us.ibm.com

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

* Re: [PATCH 2.4.26-pre2] pcnet32.c oops
  2004-03-10 21:12 [PATCH 2.4.26-pre2] pcnet32.c oops Don Fry
@ 2004-03-12 18:30 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-03-12 18:30 UTC (permalink / raw)
  To: Don Fry; +Cc: tsbogend, netdev

applied

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

end of thread, other threads:[~2004-03-12 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 21:12 [PATCH 2.4.26-pre2] pcnet32.c oops Don Fry
2004-03-12 18:30 ` Jeff Garzik

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).