On Tue, Jan 15, 2019 at 02:35:19PM +0200, Camelia Groza wrote: > Since phy driver features became a link_mode bitmap, phy drivers that > don't have a list of features configured will cause the kernel to crash > when probed. > > Prevent the phy driver from registering if the features field is missing. > > Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with > link_mode bitmap") > Reported-by: Scott Wood <o...@buserror.net> > Signed-off-by: Camelia Groza <camelia.gr...@nxp.com>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew