[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120711094450.GA24721@localhost>
Date: Wed, 11 Jul 2012 17:44:50 +0800
From: Fengguang Wu <wfg@...ux.intel.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [net-next:master 73/84] net/ipv4/tcp_metrics.c:252:3: error:
implicit declaration of function 'inet6_twsk'
On Wed, Jul 11, 2012 at 02:39:39AM -0700, David Miller wrote:
> From: wfg@...ux.intel.com
> Date: Wed, 11 Jul 2012 17:12:33 +0800
>
> > net/ipv4/tcp_metrics.c: In function '__tcp_get_metrics_tw':
> > net/ipv4/tcp_metrics.c:252:3: error: implicit declaration of function 'inet6_twsk' [-Werror=implicit-function-declaration]
> > net/ipv4/tcp_metrics.c:252:7: warning: assignment makes pointer from integer without a cast [enabled by default]
> > net/ipv4/tcp_metrics.c:253:41: error: dereferencing pointer to incomplete type
>
> Fixed as follows:
>
> ====================
> ipv6: Move ipv6 twsk accessors outside of CONFIG_IPV6 ifdefs.
>
> Fixes build when ipv6 is disabled.
>
> Reported-by: Fengguang Wu <wfg@...ux.intel.com>
> Signed-off-by: David S. Miller <davem@...emloft.net>
> ---
> include/linux/ipv6.h | 32 ++++++++++++++++----------------
> 1 file changed, 16 insertions(+), 16 deletions(-)
It worked, thanks!
Fengguang
--
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
Powered by blists - more mailing lists