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