Re: [PATCH v9 02/10] lib: uuid: introduce uuid_str_to_le_bin function

Simon Glass
2023-03-10T20:56:23Z

On Fri, 10 Mar 2023 at 06:10, Abdellatif El Khlifi
<abdellatif.elkhlifi@arm.com> wrote:
>
> convert UUID string to little endian binary data
>
> Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Cc: Jens Wiklander <jens.wiklander@linaro.org>
>
> ---
> Changelog:
> ===============
>
> v9:
>
> * add a full function prototype description in uuid.h
>
> v8:
>
> * use simple_strtoull() in uuid_str_to_le_bin() to support 32-bit platforms
>
> v7:
>
> * rename be_uuid_str_to_le_bin() to uuid_str_to_le_bin()
> * make uuid_str_to_le_bin() implementation similar to uuid_str_to_bin()
> by using same APIs
>
> v4:
>
> * rename ffa_uuid_str_to_bin to be_uuid_str_to_le_bin and put in
> a standalone commit (the current)
>
> v3:
>
> * introduce ffa_uuid_str_to_bin (provided by
> arm_ffa: introduce Arm FF-A low-level driver)
>
> include/uuid.h | 15 +++++++++++++++
> lib/uuid.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 63 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>