Re: [PATCH v2 2/2] net: mdio: fix owner field for mdio buses registered using ACPI

From: Simon Horman
Date: Sat Mar 18 2023 - 11:20:16 EST


On Thu, Mar 16, 2023 at 04:33:17PM -0700, Florian Fainelli wrote:
> Bus ownership is wrong when using acpi_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.
>
> CC: Maxime Bizon <mbizon@xxxxxxxxxx>
> Fixes: 803ca24d2f92 ("net: mdio: Add ACPI support code for mdio")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

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