Files
erofs-linux/drivers/net/phy
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: 719655a149 ("net: phy: Replace phy driver features u32 with link_mode bitmap")
Reported-by: Jose Abreu <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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-10-01 22:55:35 -07:00
…
2018-09-18 20:14:19 -07:00
…
…
…
…