Andrew Lunn f802912d42 net: phy: genphy_10g_driver: Avoid NULL pointer dereference
This driver got missed during the recent change of .features from a
u32 to a pointer to a Linux bitmap. Change the initialisation from 0
to PHY_10GBIT_FEATURES so removing the danger of a NULL pointer
dereference.

Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap")
Reported-by: Jose Abreu <jose.abreu@synopsys.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-25 16:19:09 -07:00
..
2018-10-01 22:55:35 -07:00
2018-10-01 22:55:36 -07:00
2018-05-15 16:41:15 -04:00
2017-08-06 20:55:28 -07:00
2017-08-06 20:55:28 -07:00
2018-01-08 14:30:28 -05:00
2018-10-01 22:55:35 -07:00
2018-09-18 20:14:19 -07:00