From: Heinrich Schuchardt Date: Thu, 5 Oct 2017 14:35:51 +0000 (+0200) Subject: efi_loader: call EFI_EXIT in efi_copy_mem, efi_set_mem X-Git-Tag: v2017.11-rc2~55^2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7c78176d6925726d654cd84eb866c7b39da1b13;p=u-boot efi_loader: call EFI_EXIT in efi_copy_mem, efi_set_mem EFI_ENTRY and EFI_EXIT calls must match. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 66ce92f654..b8b98f2c4a 100644 --- 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); } /*