[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2cdf9843-0014-dc89-bede-a4d38c9bf264@gmail.com>
Date: Mon, 2 Jul 2018 09:18:47 -0600
From: David Ahern <dsahern@...il.com>
To: Enrico Mioso <mrkiko.rs@...il.com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Daniel Borkmann <daniel@...earbox.net>,
Kirill Tkhai <ktkhai@...tuozzo.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
Alexei Starovoitov <ast@...nel.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
John Fastabend <john.fastabend@...il.com>,
Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: Compiler warnings in kernel 4.14.51
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.
Powered by blists - more mailing lists