]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: uuid: fix uuid_str_to_le_bin() on 32-bit
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 3 Nov 2024 22:42:21 +0000 (23:42 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 14:14:23 +0000 (08:14 -0600)
commite5a0cb3eb3900038c1c554a96eb8a2ffb13c36b3
tree9874cb93648a4b3a41b83aa3b455f398d9811d1c
parent8ff37ec010ee228c0f7627b43e225103d9f460db
lib: uuid: fix uuid_str_to_le_bin() on 32-bit

hextoul() cannot convert a string to a 64-bit number on a 32-bit system.
Use function hextoull() instead.

Reported-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Fixes: 22c48a92cdce ("lib: uuid: supporting building as part of host tools")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Tested-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/uuid.c