Files
linux/drivers
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
..
2012-05-24 16:22:53 -04:00
2012-06-08 05:57:21 +08:00
2012-05-31 08:46:50 +02:00
2012-05-02 00:25:13 +02:00
2012-05-08 12:35:06 +02:00
2012-05-14 13:37:45 -07:00
2012-06-07 15:22:21 +03:00
2012-06-27 21:28:14 -07:00
2012-06-04 21:34:34 +02:00
2012-05-07 09:56:39 +08:00