[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <60f98697-952d-aa39-765f-29736de0c4a2@ncentric.com>
Date: Mon, 4 Feb 2019 12:43:03 +0100
From: Koen Vandeputte <koen.vandeputte@...ntric.com>
To: netdev@...r.kernel.org
Subject: Compiler warning
Hi All,
I'm seeing following compiler warning during kernel compilation
(5.0-rc5 and 4.14.96):
net/core/dev.c: In function 'validate_xmit_skb_list':
net/core/dev.c:3405:15: warning: 'tail' may be used uninitialized in
this function [-Wmaybe-uninitialized]
tail->next = skb;
~~~~~~~~~~~^~~~~
Source shows this:
https://elixir.bootlin.com/linux/v5.0-rc5/source/net/core/dev.c#L3387
Looks like "tail" can get deferenced while it indeed doesn't get
initialized? Kind regards, Koen
Powered by blists - more mailing lists