From: David Miller <davem@davemloft.net>
To: oliver@hartkopp.net
Cc: remi.denis-courmont@nokia.com, netdev@vger.kernel.org
Subject: Re: net-next-2.6 phonet causes build error
Date: Sun, 26 Jul 2009 13:39:47 -0700 (PDT) [thread overview]
Message-ID: <20090726.133947.109438410.davem@davemloft.net> (raw)
In-Reply-To: <4A6CA3BF.7010709@hartkopp.net>
From: Oliver Hartkopp <oliver@hartkopp.net>
Date: Sun, 26 Jul 2009 20:43:11 +0200
> Hi Remi,
>
> i got this build error from the latest net-next-2.6:
>
> net/phonet/pn_dev.c: In function ‘phonet_init_net’:
> net/phonet/pn_dev.c:221: error: implicit declaration of function
> ‘proc_net_fops_create’
> net/phonet/pn_dev.c: In function ‘phonet_exit_net’:
> net/phonet/pn_dev.c:242: error: implicit declaration of function ‘proc_net_remove’
I just committed the following fix for this:
phonet: Fix build.
As reported by Oliver Hartkopp:
net/phonet/pn_dev.c: In function ‘phonet_init_net’:
net/phonet/pn_dev.c:221: error: implicit declaration of function
‘proc_net_fops_create’
net/phonet/pn_dev.c: In function ‘phonet_exit_net’:
net/phonet/pn_dev.c:242: error: implicit declaration of function ‘proc_net_remove’
Signed-off-by: David S. Miller <davem@davemloft.net>
---
net/phonet/pn_dev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/phonet/pn_dev.c b/net/phonet/pn_dev.c
index 5107b79..6b30cc1 100644
--- a/net/phonet/pn_dev.c
+++ b/net/phonet/pn_dev.c
@@ -27,6 +27,7 @@
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/phonet.h>
+#include <linux/proc_fs.h>
#include <net/sock.h>
#include <net/netns/generic.h>
#include <net/phonet/pn_dev.h>
--
1.6.3.3
next prev parent reply other threads:[~2009-07-26 20:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-26 18:43 net-next-2.6 phonet causes build error Oliver Hartkopp
2009-07-26 20:39 ` David Miller [this message]
2009-07-27 6:27 ` Rémi Denis-Courmont
2009-07-27 7:03 ` Eric Dumazet
2009-07-27 8:06 ` Rémi Denis-Courmont
2009-07-27 8:09 ` Eric Dumazet
2009-07-28 2:31 ` David Miller
2009-07-28 6:18 ` Eric Dumazet
2009-07-27 15:03 ` David Miller
2009-07-27 15:01 ` David Miller
2009-07-27 15:18 ` Marcel Holtmann
2009-07-27 15:30 ` David Miller
2009-07-27 15:30 ` Oliver Hartkopp
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=20090726.133947.109438410.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=oliver@hartkopp.net \
--cc=remi.denis-courmont@nokia.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 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).