linux/drivers/net
David S. Miller 160c85f0e0 phy: Fix warning in get_phy_device().
drivers/net/phy/phy_device.c: In function ‘get_phy_device’:
drivers/net/phy/phy_device.c:340:14: warning: ‘phy_id’ may be used uninitialized in this function [-Wmaybe-uninitialized]

GCC can't see that when we return zero we always initialize
phy_id and that's the only path where we use it.

Initialize phy_id to zero to shut it up.

Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-27 21:28:14 -07:00
..
appletalk
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-25 15:50:32 -07:00
caif caif-hsi: Remove use of module parameters 2012-06-25 16:44:12 -07:00
can can: c_can_pci: fix compilation on non HAVE_CLK archs 2012-06-20 13:46:29 -07:00
cris
dsa
ethernet net: fec: add phy-reset-duration for device tree probe 2012-06-27 21:22:06 -07:00
fddi
hamradio
hippi
hyperv
irda
phy phy: Fix warning in get_phy_device(). 2012-06-27 21:28:14 -07:00
plip
ppp
slip
team team: do not allow to map disabled ports 2012-06-26 21:09:39 -07:00
usb net: qmi_wwan: simplify a check in qmi_wwan_bind() 2012-06-26 17:13:21 -07:00
vmxnet3
wan
wimax
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-25 15:50:32 -07:00
xen-netback
dummy.c dummy: fix rcu_sched self-detected stalls 2012-06-11 01:12:04 -07:00
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtio_net: allow to change mac when iface is running 2012-06-27 21:25:58 -07:00
xen-netfront.c