Re: net/ipv4/inetpeer.c stack warnings

2007-07-20 Thread David Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 14:48:59 +0200 > Gabriel C wrote: > > Hello , > > > > I noticed on current git this warning in net/ipv4/inetpeer.c > > Yeah, I have no idea why the gcc people thought that this was > something worth warning about. Especially since e

Re: net/ipv4/inetpeer.c stack warnings

2007-07-19 Thread David Miller
From: Gabriel C <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 14:29:53 +0200 > Hello , > > I noticed on current git this warning in net/ipv4/inetpeer.c > > ... > > CC net/ipv4/inetpeer.o > net/ipv4/inetpeer.c: In function 'unlink_from_pool': > net/ipv4/inetpeer.c:297: warning: the address o

Re: net/ipv4/inetpeer.c stack warnings

2007-07-19 Thread Gabriel C
Patrick McHardy wrote: > Gabriel C wrote: > >> Hello , >> >> I noticed on current git this warning in net/ipv4/inetpeer.c >> > > Yeah, I have no idea why the gcc people thought that this was > something worth warning about. Especially since explicitly > checking for != NULL silences the war

Re: net/ipv4/inetpeer.c stack warnings

2007-07-19 Thread Patrick McHardy
Gabriel C wrote: Hello , I noticed on current git this warning in net/ipv4/inetpeer.c Yeah, I have no idea why the gcc people thought that this was something worth warning about. Especially since explicitly checking for != NULL silences the warning again. [IPV4]: Fix inetpeer gcc-4.2 warning

net/ipv4/inetpeer.c stack warnings

2007-07-19 Thread Gabriel C
Hello , I noticed on current git this warning in net/ipv4/inetpeer.c ... CC net/ipv4/inetpeer.o net/ipv4/inetpeer.c: In function 'unlink_from_pool': net/ipv4/inetpeer.c:297: warning: the address of 'stack' will always evaluate as 'true' net/ipv4/inetpeer.c:297: warning: the address of 'st