Skip to content
Snippets Groups Projects
Commit 14ad49d1 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Alexander Graf
Browse files

efi_loader: efi_get_time_init should return status code


All EFI initialization functions should return a status code.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 22c793e6
No related branches found
No related tags found
No related merge requests found
...@@ -365,7 +365,7 @@ efi_status_t efi_reset_system_init(void); ...@@ -365,7 +365,7 @@ efi_status_t efi_reset_system_init(void);
efi_status_t __efi_runtime EFIAPI efi_get_time( efi_status_t __efi_runtime EFIAPI efi_get_time(
struct efi_time *time, struct efi_time *time,
struct efi_time_cap *capabilities); struct efi_time_cap *capabilities);
void efi_get_time_init(void); efi_status_t efi_get_time_init(void);
#ifdef CONFIG_CMD_BOOTEFI_SELFTEST #ifdef CONFIG_CMD_BOOTEFI_SELFTEST
/* /*
......
...@@ -147,8 +147,9 @@ efi_status_t __weak __efi_runtime EFIAPI efi_get_time( ...@@ -147,8 +147,9 @@ efi_status_t __weak __efi_runtime EFIAPI efi_get_time(
return EFI_DEVICE_ERROR; return EFI_DEVICE_ERROR;
} }
void __weak efi_get_time_init(void) efi_status_t __weak efi_get_time_init(void)
{ {
return EFI_SUCCESS;
} }
struct efi_runtime_detach_list_struct { struct efi_runtime_detach_list_struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment