On 7/1/18 2:35 PM, Enrico Mioso wrote: > Hello! > > While compiling kernel 4.14.51 I got the following warnings: > CC net/core/dev.o > net/core/dev.c: In function 'validate_xmit_skb_list': > net/core/dev.c:3121:15: warning: 'tail' may be used uninitialized in this > function [-Wmaybe-uninitialized] > ... > > CC net/ipv4/fib_trie.o > net/ipv4/fib_trie.c: In function 'fib_trie_unmerge': > net/ipv4/fib_trie.c:1749:8: warning: 'local_tp' may be used uninitialized in > this function [-Wmaybe-uninitialized] > > The kernel has been compiled for the MIPS architecture, little-endian 32-bit.
Not seen with x86-64, Debian stretch. In both cases the compiler should be able to see they are set before use.
