[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100407105049.0f812b27.randy.dunlap@oracle.com>
Date: Wed, 7 Apr 2010 10:50:49 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
Stephen Rothwell <sfr@...b.auug.org.au>,
netdev <netdev@...r.kernel.org>, linux-next@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: Tree for April 7 (net/core/dev_addr_lists)
On Wed, 07 Apr 2010 19:38:09 +0200 Eric Dumazet wrote:
> [PATCH net-next-2.6] net: include linux/proc_fs.h in dev_addr_lists.c
>
> As pointed by Randy Dunlap, we must include linux/proc_fs.h in
> net/core/dev_addr_lists.c, regardless of CONFIG_PROC_FS
>
> Reported-by: Randy Dunlap <randy.dunlap@...cle.com>,
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Acked-by: Randy Dunlap <randy.dunlap@...cle.com>
Thanks, Eric.
> ---
> diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
> index 37d5975..508f9c1 100644
> --- a/net/core/dev_addr_lists.c
> +++ b/net/core/dev_addr_lists.c
> @@ -14,6 +14,7 @@
> #include <linux/netdevice.h>
> #include <linux/rtnetlink.h>
> #include <linux/list.h>
> +#include <linux/proc_fs.h>
>
> /*
> * General list handling functions
> @@ -667,7 +668,6 @@ void dev_mc_init(struct net_device *dev)
> EXPORT_SYMBOL(dev_mc_init);
>
> #ifdef CONFIG_PROC_FS
> -#include <linux/proc_fs.h>
> #include <linux/seq_file.h>
>
> static int dev_mc_seq_show(struct seq_file *seq, void *v)
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists