Re: [PATCH] phy: check if parent device is NULL

2016-12-20 Thread Ruslan Babayev
Yes, I saw that with the staging Octeon driver. Your patch works for me too. Thanks Florian! On Tue, Dec 20, 2016 at 4:33 PM, Florian Fainelli wrote: > On 12/20/2016 03:51 PM, Ruslan Babayev wrote: >> Fixes a crash observed on Octeon. >> >> Signed-off-by: Ruslan Babayev >> Fixes: ec988ad78ed6

Re: [PATCH] phy: check if parent device is NULL

2016-12-20 Thread Florian Fainelli
On 12/20/2016 03:51 PM, Ruslan Babayev wrote: > Fixes a crash observed on Octeon. > > Signed-off-by: Ruslan Babayev > Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a > different owner") Assuming you saw this with the staging Octeon driver, a fix has already been submit

[PATCH] phy: check if parent device is NULL

2016-12-20 Thread Ruslan Babayev
Fixes a crash observed on Octeon. Signed-off-by: Ruslan Babayev Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a different owner") --- drivers/net/phy/phy_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/phy_device.c b/drive