public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit
@ 2024-11-03 22:42 Heinrich Schuchardt
  2024-11-03 22:42 ` [PATCH v2 1/4] lib: provide function hextoull() Heinrich Schuchardt
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Heinrich Schuchardt @ 2024-11-03 22:42 UTC (permalink / raw)
  To: Tom Rini
  Cc: Tuomas Tynkkynen, Raymond Mao, Ilias Apalodimas, Simon Glass,
	Caleb Connolly, Marek Vasut, u-boot, Heinrich Schuchardt

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


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-11-13 17:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-03 22:42 [PATCH v2 0/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit Heinrich Schuchardt
2024-11-03 22:42 ` [PATCH v2 1/4] lib: provide function hextoull() Heinrich Schuchardt
2024-11-07  9:45   ` Ilias Apalodimas
2024-11-07 10:51     ` Marek Vasut
2024-11-12 11:00   ` Patrick DELAUNAY
2024-11-13 13:39   ` Simon Glass
2024-11-13 14:12     ` Tom Rini
2024-11-13 14:42       ` Simon Glass
2024-11-13 15:19         ` Tom Rini
2024-11-03 22:42 ` [PATCH v2 2/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit Heinrich Schuchardt
2024-11-06 10:42   ` Caleb Connolly
2024-11-11 12:34   ` Ilias Apalodimas
2024-11-12 10:51   ` Patrick DELAUNAY
2024-11-03 22:42 ` [PATCH v2 3/4] lib: uuid: fix uuid_str_to_bin() " Heinrich Schuchardt
2024-11-06 10:42   ` Caleb Connolly
2024-11-11 12:33   ` Ilias Apalodimas
2024-11-12 10:52   ` Patrick DELAUNAY
2024-11-03 22:42 ` [PATCH v2 4/4] configs: enable UNIT_TEST on qemu_arm_defconfig Heinrich Schuchardt
2024-11-03 22:46   ` Tom Rini
2024-11-07  9:52   ` Ilias Apalodimas
2024-11-12 11:00   ` Patrick DELAUNAY
2024-11-13 17:40 ` [PATCH v2 0/4] lib: uuid: fix uuid_str_to_le_bin() on 32-bit Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox