summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_device_path.c
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2024-05-21 09:13:27 +0200
committerTom Rini <trini@konsulko.com>2024-06-07 10:47:59 -0600
commit96dfa5869da586eb1c8d84c22164a2bf399968a1 (patch)
tree3dcf8ba1445956b67c9f7402dee7ddcb4cfbf64c /lib/efi_loader/efi_device_path.c
parent15378a3fe1838a3c5abf2330a6eb4e92462783c1 (diff)
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 <kabel@kernel.org>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions