diff options
author | Maxime Bizon <[email protected]> | 2023-03-16 16:33:16 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-03-19 10:48:35 +0000 |
commit | 99669259f3361d759219811e670b7e0742668556 (patch) | |
tree | d9924c7b8b02d46989cf476795d4e9fe855e2c7c /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 4203d84032e28f893594a453bd8bc9c3b15c7334 (diff) |
net: mdio: fix owner field for mdio buses registered using device-tree
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 <[email protected]>
Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
[florian: fix kdoc, added Fixes tag]
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions