[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1e5e6958-f765-c78a-738e-9e8abb948e55@gmail.com>
Date: Tue, 28 May 2019 10:57:50 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: ioana.ciornei@....com, linux@...linux.org.uk, andrew@...n.ch,
hkallweit1@...il.com, maxime.chevallier@...tlin.com,
olteanv@...il.com, thomas.petazzoni@...tlin.com,
davem@...emloft.net, vivien.didelot@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next 03/11] net: phy: Check against net_device
being NULL
On 5/28/19 10:38 AM, 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.ciornei@....com>
> Suggested-by: Andrew Lunn <andrew@...n.ch>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists