projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0bd77
)
efi_loader: text output for device path end node
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 14 Jan 2018 16:05:57 +0000
(17:05 +0100)
committer
Alexander Graf
<agraf@suse.de>
Mon, 22 Jan 2018 22:09:12 +0000
(23:09 +0100)
Without the patch a device path consisting only of an end node is
displayed as '/UNKNOWN(007f,00ff)'. It should be displayed as '/'.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_device_path_to_text.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_device_path_to_text.c
b/lib/efi_loader/efi_device_path_to_text.c
index
40eae73
..
a79e60a
100644
(file)
--- a/
lib/efi_loader/efi_device_path_to_text.c
+++ b/
lib/efi_loader/efi_device_path_to_text.c
@@
-245,6
+245,8
@@
static char *efi_convert_single_device_node_to_text(
case DEVICE_PATH_TYPE_MEDIA_DEVICE:
str = dp_media(str, dp);
break;
+ case DEVICE_PATH_TYPE_END:
+ break;
default:
str = dp_unknown(str, dp);
}