public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.3-pre3 -- KMALLOC_MAXSIZE & 3c509/3c515 compile fix
@ 2001-03-07 18:12 Mohammad A. Haque
  0 siblings, 0 replies; only message in thread
From: Mohammad A. Haque @ 2001-03-07 18:12 UTC (permalink / raw)
  To: linux-kernel

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


-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================

[-- Attachment #2: 2.4.x-KMALLOC_MAXSIZE.diff --]
[-- Type: text/plain, Size: 385 bytes --]

--- linux/include/linux/slab.h.orig	Wed Mar  7 11:39:26 2001
+++ linux/include/linux/slab.h	Wed Mar  7 11:52:39 2001
@@ -55,6 +55,7 @@
 extern void *kmem_cache_alloc(kmem_cache_t *, int);
 extern void kmem_cache_free(kmem_cache_t *, void *);
 
+#define KMALLOC_MAXSIZE	131072UL	/* Maximum allowed request size */
 extern void *kmalloc(size_t, int);
 extern void kfree(const void *);
 

[-- Attachment #3: 2.4.3-p3-3c5xx.diff --]
[-- Type: text/plain, Size: 916 bytes --]

--- linux/drivers/net/3c509.c.orig	Wed Mar  7 11:35:27 2001
+++ linux/drivers/net/3c509.c	Wed Mar  7 13:04:57 2001
@@ -327,7 +327,7 @@
 			irq = idev->irq_resource[0].start;
 			if (el3_debug > 3)
 				printk ("ISAPnP reports %s at i/o 0x%x, irq %d\n",
-					el3_isapnp_adapters[i].name, ioaddr, irq);
+					(char *) el3_isapnp_adapters[i].driver_data, ioaddr, irq);
 			EL3WINDOW(0);
 			for (j = 0; j < 3; j++)
 				el3_isapnp_phys_addr[pnp_cards][j] =
--- linux/drivers/net/3c515.c.orig	Wed Mar  7 11:35:27 2001
+++ linux/drivers/net/3c515.c	Wed Mar  7 13:06:42 2001
@@ -474,7 +474,7 @@
 			irq = idev->irq_resource[0].start;
 			if(corkscrew_debug)
 				printk ("ISAPNP reports %s at i/o 0x%x, irq %d\n",
-					corkscrew_isapnp_adapters[i].name,ioaddr, irq);
+					(char *) corkscrew_isapnp_adapters[i].driver_data, ioaddr, irq);
 					
 			if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0))
 				continue;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-07 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-07 18:12 [PATCH] 2.4.3-pre3 -- KMALLOC_MAXSIZE & 3c509/3c515 compile fix Mohammad A. Haque

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