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

2016-02-16 Thread David Miller
From: Sascha Hauer 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 Applied.

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

2016-02-15 Thread Neil Armstrong
On 02/11/2016 04:39 PM, Vivien Didelot wrote: > Hi Sascha, > > Sascha Hauer writes: > >> 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 >> --- >> net/

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

2016-02-11 Thread Andrew Lunn
On Thu, Feb 11, 2016 at 11:44:49AM +0100, Sascha Hauer wrote: > 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 Hi Sascha The fix looks correct, since the p

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

2016-02-11 Thread Vivien Didelot
Hi Sascha, Sascha Hauer writes: > 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 > --- > net/dsa/slave.c | 1 - > 1 file changed, 1 deletion(-) > > diff -