efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version
Translate EFI's UCS-2 variable names to UTF-8 instead of just assuming all variable names fit in ASCII. Signed-off-by: NPeter Jones <pjones@redhat.com> Acked-by: NMatthew Garrett <mjg59@coreos.com> Tested-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatt Fleming <matt@codeblueprint.co.uk>
Showing
想要评论请 注册 或 登录