Subject: Re: [PATCH 03/11] net: phy: Check against net_device being NULL

From: Andrew Lunn <[email-masked]>
Date: Tue, 28 May 2019 17:51:49 +0200

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 <[email-masked]>
> Suggested-by: Andrew Lunn <[email-masked]>

I should actually say, once you fix the sparse warnings, you can add:

Reviewed-by: Andrew Lunn <[email-masked]>

    Andrew