Re: [lunn:v6.3-rc2-net-next-phy-leds 5/15] ld.lld: error: undefined symbol: devm_mdiobus_alloc_size

From: Arnd Bergmann
Date: Thu Apr 20 2023 - 11:40:35 EST


On Thu, Apr 20, 2023, at 17:26, Andrew Lunn wrote:
>> I think the best way is to drop your MDIO_DEVRES patch and instead
>> apply mine (or some variation of that) from
>>
>> https://lore.kernel.org/lkml/20230420084624.3005701-1-arnd@xxxxxxxxxx/
>>
>> Once any missing or recursive dependencies are handled, the devres
>> problem should be fixed as well. I have completed around 150
>> randconfig builds with that patch and have not seen any further
>> problems.
>
> Is this on top of my patch? Or does it require mine is reverted? I
> can send a revert if it is needed.

The two are independent. I think your patch does nothing once
mine is applied, since the indirect 'select MDIO_DEVRES' will
work again. Reverting it might help avoid some confusion though.

Arnd