summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_boottime.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-01-26 08:30:30 +0300
committerAlexander Graf <agraf@suse.de>2018-01-28 23:37:13 +0300
commit5f1ce1d4ca4decef688fe0dd71b11927d6a18845 (patch)
treee2f2673d1ca5c157fa8baddbc056a33c50aeeae1 /lib/efi_loader/efi_boottime.c
parent56672bf52ebf7b9d6de245f7a1bf56679a39093b (diff)
downloadu-boot-5f1ce1d4ca4decef688fe0dd71b11927d6a18845.tar.xz
vsprintf.c: correct printing of a NULL device path
When printing '%pD' with a value of NULL we want to output '<NULL>'. But this requires copying to buf. Leave this to string16. A unit test is supplied which relies on EFI support in the sandbox. The development for EFI support in the sandbox is currently in branch u-boot-dm/efi-working. The branch lacks commit 6ea8b580f06b ("efi_loader: correct DeviceNodeToText for media types"). Ater rebasing the aforementioned branch on U-Boot v2018.01 and adding 256060e4257a2 and this patch the test is executed successfully. Fixes: 256060e4257a2 (vsprintf.c: add EFI device path printing) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/efi_boottime.c')
0 files changed, 0 insertions, 0 deletions