Re: [PATCH v3] nvmem: layouts: u-boot-env: check earlier for ethaddr length
From: Srinivas Kandagatla
Date: Wed May 20 2026 - 02:49:48 EST
On Tue, 19 May 2026 22:19:25 +0200, Tomasz Maciej Nowak wrote:
> Unfortunately the ethaddr value in U-Boot environment might be enclosed
> in single/double quotes or be something completely different. This can
> make it different than MAC_ADDR_STR_LEN, which results in EINVAL
> returned by ethaddr post process. Move the check for length earlier,
> to skip post processing, so nvmem could still present ethaddr value as
> a string if the value doesn't match MAC_ADDR_STR_LEN.
>
> [...]
Applied, thanks!
[1/1] nvmem: layouts: u-boot-env: check earlier for ethaddr length
commit: 8858aeffa287ae49d50ffcb69c5dddcf424f812f
Best regards,
--
Srinivas Kandagatla <srini@xxxxxxxxxx>