netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Ritz <daniel.ritz@gmx.ch>
To: Jeff Garzik <jgarzik@pobox.com>,
	Russell King <rmk+lkml@arm.linux.org.uk>
Cc: netdev@oss.sgi.com
Subject: [PATCH] fix arm/etherh.c allocation
Date: Tue, 20 Apr 2004 20:49:08 +0200	[thread overview]
Message-ID: <200404202049.09130.daniel.ritz@gmx.ch> (raw)

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;

             reply	other threads:[~2004-04-20 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-20 18:49 Daniel Ritz [this message]
2004-04-22  3:28 ` [PATCH] fix arm/etherh.c allocation Jeff Garzik
2004-04-22  7:33   ` Russell King

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=200404202049.09130.daniel.ritz@gmx.ch \
    --to=daniel.ritz@gmx.ch \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    --cc=rmk+lkml@arm.linux.org.uk \
    /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 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).