milos-linux/drivers/nvmem/layouts
Andre Heider ea41020b90 nvmem: layouts: onie-tlv: fix hang on unknown types
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 incrementing the offset on unknown entries, so the loop
will eventually stop.

Fixes: d3c0d12f64 ("nvmem: layouts: onie-tlv: Add new layout driver")
Cc: Stable@vger.kernel.org
Signed-off-by: Andre Heider <a.heider@gmail.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://patch.msgid.link/20260530204340.116743-2-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-06-05 17:18:58 +02:00
..
Kconfig
Makefile
onie-tlv.c nvmem: layouts: onie-tlv: fix hang on unknown types 2026-06-05 17:18:58 +02:00
sl28vpd.c
u-boot-env.c kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
u-boot-env.h