]> git.ipfire.org Git - thirdparty/u-boot.git/commit
board: ge: common: vpd: Fix read_i2c_vpd return value
authorFrancois Berder <fberder@outlook.fr>
Sat, 31 Jan 2026 11:29:01 +0000 (12:29 +0100)
committerFabio Estevam <festevam@gmail.com>
Fri, 6 Feb 2026 23:30:18 +0000 (20:30 -0300)
commit944e577827478e0ec65bfe1593404df4b9cb1cf4
treefecd2e12af1b9312c26edf772935c4589e2196eb
parent98d6f42fc594bfd5da1dc405aad6cb33cb7341ee
board: ge: common: vpd: Fix read_i2c_vpd return value

If i2c_eeprom_size fails, the error value is stored in
variable size and not ret.
Also, this commit fixes printing the error value.

Signed-off-by: Francois Berder <fberder@outlook.fr>
board/ge/common/vpd_reader.c