netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix arm/etherh.c allocation
@ 2004-04-20 18:49 Daniel Ritz
  2004-04-22  3:28 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Ritz @ 2004-04-20 18:49 UTC (permalink / raw)
  To: Jeff Garzik, Russell King; +Cc: netdev

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;

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

end of thread, other threads:[~2004-04-22  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-20 18:49 [PATCH] fix arm/etherh.c allocation Daniel Ritz
2004-04-22  3:28 ` Jeff Garzik
2004-04-22  7:33   ` Russell King

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