[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1306141247.2869.10.camel@edumazet-laptop>
Date: Mon, 23 May 2011 11:00:47 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Vasiliy Kulikov <segoon@...nwall.com>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] net: ping: cleanups ping_v4_unhash()
Le lundi 23 mai 2011 à 12:43 +0400, Vasiliy Kulikov a écrit :
> On Mon, May 23, 2011 at 10:23 +0200, Eric Dumazet wrote:
> > net/ipv4/ping.c: In function ‘ping_v4_unhash’:
> > net/ipv4/ping.c:140:28: warning: variable ‘hslot’ set but not used
> >
> > Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
>
> Acked-by: Vasiliy Kulikov <segoon@...nwall.com>
>
> hslot was used for debugging purposes here.
>
>
> BTW, what gcc version do you use? I have no warning with 4.4.3
> (Ubuntu 4.4.3-4ubuntu5):
>
> $ make net/ipv4/ping.o
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> CALL scripts/checksyscalls.sh
> CC net/ipv4/ping.o
> $
>
I got this warning with gcc-4.6.0 on a 32bit (x86) host
--
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