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:
7d96332
)
efi_loader: call EFI_EXIT in efi_copy_mem, efi_set_mem
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 5 Oct 2017 14:35:51 +0000
(16:35 +0200)
committer
Alexander Graf
<agraf@suse.de>
Mon, 9 Oct 2017 05:00:29 +0000
(07:00 +0200)
EFI_ENTRY and EFI_EXIT calls must match.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.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
66ce92f
..
b8b98f2
100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-1868,6
+1868,7
@@
static void EFIAPI efi_copy_mem(void *destination, void *source,
{
EFI_ENTRY("%p, %p, %ld", destination, source, length);
memcpy(destination, source, length);
+ EFI_EXIT(EFI_SUCCESS);
}
/*
@@
-1885,6
+1886,7
@@
static void EFIAPI efi_set_mem(void *buffer, unsigned long size, uint8_t value)
{
EFI_ENTRY("%p, %ld, 0x%x", buffer, size, value);
memset(buffer, value, size);
+ EFI_EXIT(EFI_SUCCESS);
}
/*