From: Harvey Harrison <harvey.harrison@gmail.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
David Miller <davem@davemloft.net>,
linux-next@vger.kernel.org, Julius Volz <juliusv@google.com>,
Simon Horman <horms@verge.net.au>, Greg KH <gregkh@suse.de>,
Hannes Reinecke <hare@suse.de>
Subject: Re: linux-next: net tree build failure (depca)
Date: Sun, 14 Sep 2008 13:49:36 -0700 [thread overview]
Message-ID: <1221425376.6397.1.camel@brick> (raw)
In-Reply-To: <20080913080438.30a37469.randy.dunlap@oracle.com>
On Sat, 2008-09-13 at 08:04 -0700, Randy Dunlap wrote:
> Also this one on i386:
>
> drivers/net/depca.c:404: error: implicit declaration of function 'depca_common_remove'
> drivers/net/depca.c:1602: error: static declaration of 'depca_common_remove' follows non-static declaration
> drivers/net/depca.c:404: error: previous implicit declaration of 'depca_common_remove' was here
> make[2]: *** [drivers/net/depca.o] Error 1
>
I'd already sent a patch for that to those responsible:
From: Harvey Harrison <harvey.harrison@gmail.com>
Subject: [PATCH] net: compile fix depca.c
Adding accessors to the ->driver_data field missed a forward
declaration that is needed to compile.
Caused by:
commit 107aeb9753159da848f066b26557f0aaab900a90
Author: Hannes Reinecke <hare@suse.de>
Date: Wed Sep 10 14:16:04 2008 +0200
Driver core: Use dev_get_drvdata() accessors
Otherwise:
drivers/net/depca.c:404:9: error: undefined identifier 'depca_common_remove'
drivers/net/depca.c: In function ‘depca_isa_remove’:
drivers/net/depca.c:404: error: implicit declaration of function ‘depca_common_remove’
drivers/net/depca.c: At top level:
drivers/net/depca.c:1601: error: static declaration of ‘depca_common_remove’ follows non-static declaration
drivers/net/depca.c:404: error: previous implicit declaration of ‘depca_common_remove’ was here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/net/depca.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/depca.c b/drivers/net/depca.c
index 6ce66e0..d72c6bc 100644
--- a/drivers/net/depca.c
+++ b/drivers/net/depca.c
@@ -398,6 +398,7 @@ static struct mca_driver depca_mca_driver = {
#endif
static int depca_isa_probe (struct platform_device *);
+static int depca_common_remove(struct net_device *dev);
static int __devexit depca_isa_remove(struct platform_device *pdev)
{
--
1.6.0.1.650.gbf45a
next prev parent reply other threads:[~2008-09-14 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-13 5:03 linux-next: net tree build failure Stephen Rothwell
2008-09-13 6:24 ` David Miller
2008-09-13 9:42 ` Stephen Rothwell
2008-09-13 15:04 ` linux-next: net tree build failure (depca) Randy Dunlap
2008-09-14 20:49 ` Harvey Harrison [this message]
2008-09-15 18:59 ` Greg KH
2008-09-15 0:54 ` linux-next: net tree build failure Simon Horman
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=1221425376.6397.1.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=davem@davemloft.net \
--cc=gregkh@suse.de \
--cc=hare@suse.de \
--cc=horms@verge.net.au \
--cc=juliusv@google.com \
--cc=linux-next@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
--cc=sfr@canb.auug.org.au \
/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.