From: "Mohammad A. Haque" <mhaque@haque.net>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.4.3-pre3 -- KMALLOC_MAXSIZE & 3c509/3c515 compile fix
Date: Wed, 07 Mar 2001 13:12:13 -0500 [thread overview]
Message-ID: <3AA679FD.363E4BCD@haque.net> (raw)
[-- 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;
reply other threads:[~2001-03-07 18:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3AA679FD.363E4BCD@haque.net \
--to=mhaque@haque.net \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.