On Thu, Feb 1, 2018 at 11:26 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > With gcc-4.1.2: > > net/ipv4/inet_hashtables.c: In function ‘inet_unhash’: > net/ipv4/inet_hashtables.c:628: warning: ‘ilb’ may be used uninitialized > in this function > > While this is a false positive, it can easily be avoided by using the > pointer itself as the canary variable. > > Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org>
Looks like a reasonable workaround if we care about it. gcc-4.3 and higher don't seem to produce this warning, so I wouldn't normally care though. Acked-by: Arnd Bergmann <a...@arndb.de>