| To: | Jeff Garzik <jgarzik@xxxxxxxxx>, Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] fix arm/etherh.c allocation |
| From: | Daniel Ritz <daniel.ritz@xxxxxx> |
| Date: | Tue, 20 Apr 2004 20:49:08 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| Reply-to: | daniel.ritz@xxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.5.2 |
russell, there's a part of my original patch you missed: allocation of the
netdevice. doesn't need a comment.
against 2.6-bknow
rgds
-daniel
--- 1.23/drivers/net/arm/etherh.c Wed Apr 14 12:23:55 2004
+++ edited/etherh.c Tue Apr 20 20:39:04 2004
@@ -574,7 +574,7 @@
if (ret)
goto out;
- dev = alloc_ei_netdev();
+ dev = __alloc_ei_netdev(sizeof(struct etherh_priv));
if (!dev) {
ret = -ENOMEM;
goto release;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] r8169 NAPI addition, Francois Romieu |
|---|---|
| Next by Date: | [PATCH 1/8 2.4.26-bk1] pcnet32 whitespace only changes, Don Fry |
| Previous by Thread: | [PATCH 2.6.6-rc1-bk5] remove duplicate pcnet32 patch, Don Fry |
| Next by Thread: | Re: [PATCH] fix arm/etherh.c allocation, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |