Re: [PATCH v2 1/2] net: mdio: fix owner field for mdio buses registered using device-tree

From: Simon Horman
Date: Sat Mar 18 2023 - 11:19:42 EST


On Thu, Mar 16, 2023 at 04:33:16PM -0700, Florian Fainelli wrote:
> From: Maxime Bizon <mbizon@xxxxxxxxxx>
>
> Bus ownership is wrong when using of_mdiobus_register() to register an mdio
> bus. That function is not inline, so when it calls mdiobus_register() the wrong
> THIS_MODULE value is captured.
>
> Signed-off-by: Maxime Bizon <mbizon@xxxxxxxxxx>
> Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
> [florian: fix kdoc, added Fixes tag]
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>