]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: simplify efi_str_to_u16()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 19 Mar 2023 08:20:23 +0000 (09:20 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:06:35 +0000 (11:06 +0100)
commitbace47a59d2f6a60972a388d6be034ce20e92270
tree9d7d546c6330d6e4e75f3235749966f6704d961f
parentf606fab8dada798da801684bd6f53ddfb50494e2
efi_loader: simplify efi_str_to_u16()

Use efi_alloc() to allocate memory.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_device_path_to_text.c