Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1436291 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2016-07-04 05:20 +0200 |
| Last post | 2016-07-04 07:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build warning after merge of the net-next tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-07-04 05:20 +0200
Re: linux-next: build warning after merge of the net-next tree Jason Wang <jasowang@redhat.com> - 2016-07-04 07:30 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2016-07-04 05:20 +0200 |
| Subject | linux-next: build warning after merge of the net-next tree |
| Message-ID | <rR2Ap-n0-1@gated-at.bofh.it> |
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.
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | Jason Wang <jasowang@redhat.com> |
|---|---|
| Date | 2016-07-04 07:30 +0200 |
| Message-ID | <rR4Cd-1Br-7@gated-at.bofh.it> |
| In reply to | #1436291 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web