From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
netdev@vger.kernel.org, David Miller <davem@davemloft.net>,
Stephen Hemminger <shemminger@vyatta.com>,
akpm <akpm@linux-foundation.org>
Subject: [PATCH] net: fix hp-plus build error
Date: Thu, 26 Feb 2009 20:22:03 -0800 [thread overview]
Message-ID: <49A76A6B.7020709@oracle.com> (raw)
In-Reply-To: <49A4248F.6090202@oracle.com>
From: Randy Dunlap <randy.dunlap@oracle.com>
hp-plus needs to call __alloc_eip_netdev() instead of
__alloc_ei_netdev() since it is linked with 8390p.o.
Fixes this build error:
ERROR: "__alloc_ei_netdev" [drivers/net/hp-plus.ko] undefined!
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/net/hp-plus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- mmotm-2009-0226-1658.orig/drivers/net/hp-plus.c
+++ mmotm-2009-0226-1658/drivers/net/hp-plus.c
@@ -467,7 +467,7 @@ init_module(void)
if (this_dev != 0) break; /* only autoprobe 1st one */
printk(KERN_NOTICE "hp-plus.c: Presently autoprobing (not recommended) for a single card.\n");
}
- dev = alloc_ei_netdev();
+ dev = alloc_eip_netdev();
if (!dev)
break;
dev->irq = irq[this_dev];
next prev parent reply other threads:[~2009-02-27 4:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-24 10:29 linux-next: Tree for February 24 Stephen Rothwell
2009-02-24 16:47 ` linux-next: Tree for February 24 (netdev/hp-plus build error) Randy Dunlap
2009-02-25 8:12 ` David Miller
2009-02-27 4:22 ` Randy Dunlap [this message]
2009-02-27 5:02 ` [PATCH] net: fix hp-plus build error David Miller
2009-02-24 16:56 ` linux-next: Tree for February 24 (ide-atapi/ide-cd build errors) Randy Dunlap
2009-02-25 20:29 ` Bartlomiej Zolnierkiewicz
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=49A76A6B.7020709@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=shemminger@vyatta.com \
/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.