efi/printf: Add support for wchar_t (UTF-16)
authorArvind Sankar <nivedita@alum.mit.edu>
Mon, 18 May 2020 19:07:12 +0000 (15:07 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 20 May 2020 17:09:20 +0000 (19:09 +0200)
commitd850a2ff918be0691f8d0544a2156c856c42da5b
tree985f325be0492240ff8a15cdba220c8eb1475a7e
parent14c574f35cfbc9272fc67b41f074c847db139652
efi/printf: Add support for wchar_t (UTF-16)

Support %lc and %ls to output UTF-16 strings (converted to UTF-8).

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200518190716.751506-21-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/vsprintf.c