On Tue, May 28, 2019 at 12:21:59AM +0300, Ioana Ciornei wrote: > In general, we don't want MAC drivers calling phy_attach_direct with the > net_device being NULL. Add checks against this in all the functions > calling it: phy_attach() and phy_connect_direct(). > > Signed-off-by: Ioana Ciornei <ioana.cior...@nxp.com> > Suggested-by: Andrew Lunn <and...@lunn.ch>
I should actually say, once you fix the sparse warnings, you can add: Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew