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-06-06 09:31:33 -07:00
2012-04-17 22:22:43 -04:00
2012-06-25 15:50:32 -07:00
2012-06-25 16:44:12 -07:00
2012-06-20 13:46:29 -07:00
2012-04-03 13:09:18 +02:00
2012-01-24 15:44:50 -05:00
2012-06-27 21:22:06 -07:00
2012-06-06 09:31:33 -07:00
2012-06-06 09:31:33 -07:00
2012-04-16 23:48:38 -04:00
2012-06-06 15:06:41 -07:00
2012-06-06 09:31:33 -07:00
2012-06-27 21:28:14 -07:00
2012-03-28 18:30:03 +01:00
2012-05-19 02:32:30 -04:00
2012-06-06 09:31:33 -07:00
2012-06-26 21:09:39 -07:00
2012-06-26 17:13:21 -07:00
2012-06-06 09:31:33 -07:00
2012-06-06 09:31:33 -07:00
2012-06-06 09:31:33 -07:00
2012-06-25 15:50:32 -07:00
2012-05-24 16:22:53 -04:00
2012-06-11 01:12:04 -07:00
2012-03-27 22:45:26 -04:00
2012-02-15 15:34:16 -05:00
2012-05-15 20:23:16 -04:00
2012-03-28 18:30:03 +01:00
2012-05-16 22:17:37 -04:00
2012-06-07 13:18:54 -07:00
2012-05-15 20:23:16 -04:00
2012-03-01 16:41:26 -05:00
2012-03-01 16:41:26 -05:00
2012-01-31 16:20:21 -05:00
2012-04-01 23:17:16 -04:00
2012-05-17 16:37:41 -04:00
2012-05-10 23:33:01 -04:00
2012-02-19 16:03:15 -05:00
2012-06-27 21:25:58 -07:00
2012-05-22 16:50:28 -04:00