Re: [PATCH 2/2] net: dsa: remove phy_disconnect from error path

From: David Miller
Date: Tue Feb 16 2016 - 16:09:01 EST


From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Date: Thu, 11 Feb 2016 11:44:49 +0100

> The phy has not been initialized, disconnecting it in the error
> path results in a NULL pointer exception. Drop the phy_disconnect
> from the error path.
>
> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>

Applied.