]> Git Repo - J-u-boot.git/commit
common: eeprom_field: Fix updating binary field
authorMarek Behún <[email protected]>
Tue, 21 May 2024 07:13:27 +0000 (09:13 +0200)
committerTom Rini <[email protected]>
Fri, 7 Jun 2024 16:47:59 +0000 (10:47 -0600)
commit96dfa5869da586eb1c8d84c22164a2bf399968a1
tree3dcf8ba1445956b67c9f7402dee7ddcb4cfbf64c
parent15378a3fe1838a3c5abf2330a6eb4e92462783c1
common: eeprom_field: Fix updating binary field

The __eeprom_field_update_bin() function is expected to parse a hex
string into bytes (potentially in reverse order), but the
simple_strtoul() function is given 0 as base. This does not work since
the string does not contain '0x' prefix. Add explicit base 16.

Signed-off-by: Marek Behún <[email protected]>
common/eeprom/eeprom_field.c
This page took 0.033252 seconds and 4 git commands to generate.