Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1436675
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] tun: fix build warnings |
| Date | 2016-07-05 02:20 +0200 |
| Message-ID | <rRmfM-3Zm-3@gated-at.bofh.it> (permalink) |
| References | <rR55g-1L6-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Jason Wang <jasowang@redhat.com> Date: Mon, 4 Jul 2016 13:53:38 +0800 > Stephen Rothwell reports a build warnings(powerpc ppc64_defconfig) > > 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; > > This is because tun_ring_recv() may return an uninitialized err, fix this. > > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> > Signed-off-by: Jason Wang <jasowang@redhat.com> Applied, thanks Jason.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] tun: fix build warnings Jason Wang <jasowang@redhat.com> - 2016-07-04 08:00 +0200 Re: [PATCH net-next] tun: fix build warnings David Miller <davem@davemloft.net> - 2016-07-05 02:20 +0200
csiph-web