projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4afcb2
)
efi_loader: LoadImage must return EFI_NOT_FOUND
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 11 Jun 2019 17:00:56 +0000
(19:00 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 14 Jun 2019 17:18:39 +0000
(19:18 +0200)
If the file path does not relate to an existing file, LoadImage() must
return EFI_NOT_FOUND.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index 7bb0fc2e5211e98331c9abe7f6501d1bad6b31a6..251dfc4ecc41955a4e6ab917bd7c33f0b2951a48 100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-1779,7
+1779,7
@@
efi_status_t efi_load_image_from_path(struct efi_device_path *file_path,
/* Open file */
f = efi_file_from_path(file_path);
if (!f)
- return EFI_
DEVICE_ERROR
;
+ return EFI_
NOT_FOUND
;
/* Get file size */
bs = 0;