[PATCH] staging: octeon: Call SET_NETDEV_DEV()

Florian Fainelli f.fainelli at gmail.com
Tue Dec 27 22:15:57 UTC 2016


On 12/20/2016 07:20 PM, David Miller wrote:
> From: Florian Fainelli <f.fainelli at gmail.com>
> Date: Tue, 20 Dec 2016 17:02:37 -0800
> 
>> On 12/14/2016 05:13 PM, Florian Fainelli wrote:
>>> The Octeon driver calls into PHYLIB which now checks for
>>> net_device->dev.parent, so make sure we do set it before calling into
>>> any MDIO/PHYLIB related function.
>>>
>>> Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a different owner")
>>> Reported-by: Aaro Koskinen <aaro.koskinen at iki.fi>
>>> Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
>>
>> Greg, David, since this is a fix for a regression introduced in the net
>> tree, it may make sense that David take it via his tree.
> 
> Since the change in question is in Linus's tree, it's equally valid
> for Greg to take it as well.

Sure, Greg, can you take this change? Thank you!
-- 
Florian


More information about the devel mailing list