]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: eliminate inline function ascii2unicode()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 7 Sep 2019 19:05:45 +0000 (21:05 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 9 Sep 2019 13:21:08 +0000 (15:21 +0200)
commit87c4840610e037018b9df30b1a31896b0bd284a9
treed7e112606eb5f99afac3b277bc0c125335b79f20
parentb0f1c728c82c25291895d66e591fa2a6851ba374
efi_loader: eliminate inline function ascii2unicode()

ascii2unicode() can only convert characters 0x00-0x7f from UTF-8 to UTF-16.
Use utf8_utf16_strcpy() instead.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_device_path_to_text.c
lib/efi_loader/efi_file.c