On Thu, 05 Feb 2026 14:55:46 +0100, Jonas Rebmann wrote:
> The tlv_format_mac() function was written as if it would fixup a list of
> MAC addresses, however that implementation was broken as it always
> exited after adding the first MAC due to interpretation of any nonzero
> exit value from of_property_sprintf() as an error, although it returns
> the length of the resulting string upon success.
>
> This was worked around by tlv_handle_eth_address_seq() invoking
> tlv_format_mac() in a loop however tlv_handle_eth_address(), which is
> specified to support an array of MAC addresses invoked tlv_format_mac()
> on the list resulting in only the first MAC of that list ending up in
> the devicetree fixup.
>
> [...]
Applied, thanks!
[1/1] common: tlv: Correct eth address list fixup
https://git.pengutronix.de/cgit/barebox/commit/?id=925dba9ba412 (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>