From: Heinrich Schuchardt Date: Thu, 13 Jun 2019 16:42:40 +0000 (+0200) Subject: efi_loader: GetTime() must return EFI_UNSUPPORTED X-Git-Tag: v2019.07~29^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c5b63bec2f885e2b0a475aca33c7696c59ae6965;p=platform%2Fkernel%2Fu-boot.git efi_loader: GetTime() must return EFI_UNSUPPORTED If the GetTime() runtime service is not supported, EFI_UNSUPPORTED has to be returned. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index 0c57d0a..40fdc0e 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -366,8 +366,7 @@ efi_status_t __weak __efi_runtime EFIAPI efi_get_time( struct efi_time *time, struct efi_time_cap *capabilities) { - /* Nothing we can do */ - return EFI_DEVICE_ERROR; + return EFI_UNSUPPORTED; } /**