Re: linux-next: build warning after merge of the net-next tree

From: Jason Wang
Date: Mon Jul 04 2016 - 01:20:10 EST




On 2016å07æ04æ 11:15, Stephen Rothwell wrote:
Hi all,

After merging the net-next tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/net/tun.c: In function 'tun_do_read.part.5':
/home/sfr/next/next/drivers/net/tun.c:1491:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
int err;
^

Introduced by commit

1576d9860599 ("tun: switch to use skb array for tx")

I can't easily see if this is a false positive.


Thanks for the reporting, will post a fix.