summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorDavid S. Miller2012-06-28 06:28:14 +0200
committerDavid S. Miller2012-06-28 06:28:14 +0200
commit160c85f0e050d92c0e42321aab2ffc343594e1c0 (patch)
tree1ba2d2bafc0eee95b4c747666fb8868c01ffeb19 /net/xfrm/xfrm_user.c
parentvirtio_net: allow to change mac when iface is running (diff)
downloadkernel-qcow2-linux-160c85f0e050d92c0e42321aab2ffc343594e1c0.tar.gz
kernel-qcow2-linux-160c85f0e050d92c0e42321aab2ffc343594e1c0.tar.xz
kernel-qcow2-linux-160c85f0e050d92c0e42321aab2ffc343594e1c0.zip
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>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
0 files changed, 0 insertions, 0 deletions