Re: [PATCH] nvmem: layouts: onie-tlv: fix hang on unknown types
From: Miquel Raynal
Date: Thu May 07 2026 - 14:15:54 EST
Hi Andre,
On 07/05/2026 at 19:18:59 +02, Andre Heider <a.heider@xxxxxxxxx> wrote:
> The EEPROM on my board has a vendor specific entry of type 0x41. When
> stumbling upon that, this driver hangs in an endless loop.
>
> Fix it by keep inrementing the offset on unknown entries, so the loop
> will eventually stop.
>
> Signed-off-by: Andre Heider <a.heider@xxxxxxxxx>
Needs a fixes tag, otherwise:
Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
Thanks,
Miquèl