commit | 59193a72f1a77ff8712e72fb1c255b2d721ce4a3 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <kabel@kernel.org> | Tue May 21 09:13:27 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 07 10:47:59 2024 -0600 |
tree | 3dcf8ba1445956b67c9f7402dee7ddcb4cfbf64c | |
parent | 246db7530a49866bcb7169b886d657f6a6b5b5dd [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>