[PATCH v2 0/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Nov 3 23:42:19 CET 2024
The lib_test_uuid_to_le and lib lib_test_dynamic_uuid tests fail on
32-bit systems. But we never caught this in our CI because we never
ran any of our C unit tests on 32-bit.
Enable CONFIG_UNIT_TEST on qemu_arm_defconfig.
hextoul() cannot convert a string to a 64-bit number on a 32-bit system.
Use the new function hextoull() instead.
v2:
fix uuid_str_to_bin() too
Heinrich Schuchardt (4):
lib: provide function hextoull()
lib: uuid: fix uuid_str_to_le_bin() on 32-bit
lib: uuid: fix uuid_str_to_bin() on 32-bit
configs: enable UNIT_TEST on qemu_arm_defconfig
configs/qemu_arm_defconfig | 1 +
include/vsprintf.h | 13 +++++++++++++
lib/strto.c | 5 +++++
lib/uuid.c | 5 +++--
4 files changed, 22 insertions(+), 2 deletions(-)
--
2.45.2
More information about the U-Boot
mailing list