Re: [PATCH v2 net-next] net: phy: adjust fixed_phy_register() return value
From: David Miller <davem@davemloft.net> Date: 2014-10-07 17:02:35
From: Petri Gynther <redacted>
Date: Tue, 7 Oct 2014 09:47:37 -0700
I'm not sure if I understand your comment. The caller of
fixed_phy_register() now gets the pointer to the phydev created by
get_phy_device(). What other thread is aware of this pointer and how could
they free it? Isn't the caller of fixed_phy_register() exclusively in
charge of the created phydev?
If this is the case then my concerns are unfounded.
Thanks for clearing that up and I'll apply your patch, thanks!