]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
defxx: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 25 Jan 2016 07:35:20 +0000 (13:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jan 2016 18:51:52 +0000 (10:51 -0800)
commit62f2aaabcf41b9e69d0356a7c1716b173241c105
tree9375f8ecfd626867f219b966fd1b5c3704ba7263
parent36df745536ab81956cf68329c8049ad07f4a0cf0
defxx: fix build warning

We are getting many build warnings about:
'bar_start' may be used uninitialized
and
'bar_len' may be used uninitialized

They are not actually uninitialized as dfx_get_bars() will initialize
them properly. But still lets have them initialized just to satisfy the
compiler (gcc 4.8.2).

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/defxx.c