Re: [PATCH net] net: phy: phy driver features are mandatory

2019-01-15 Thread Andrew Lunn
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 missi

[PATCH net] net: phy: phy driver features are mandatory

2019-01-15 Thread Camelia Groza
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