diff options
author | Heinrich Schuchardt | 2018-02-01 12:53:32 +0100 |
---|---|---|
committer | Alexander Graf | 2018-02-10 00:24:00 +0100 |
commit | 038782a27ad24260a4bc536772e10c351cf6522d (patch) | |
tree | 68fb1ca814d0fd2c0b41c1a96d22bfc4d079b0ec /include | |
parent | f19a95a40b9f6fd2845fce1c6442042b662bce28 (diff) |
efi_driver: return type of efi_driver_init()
Change the return type of efi_driver_init() to efi_status_t.
efi_driver_init() calls efi_add_driver() which returns an efi_status_t
value. efi_driver_init() should not subject this value to a conversion to
int losing high bits on 64bit systems.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 21c03c5c28f..a2d82e1db73 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -272,7 +272,7 @@ efi_status_t efi_get_memory_map(efi_uintn_t *memory_map_size, uint64_t efi_add_memory_map(uint64_t start, uint64_t pages, int memory_type, bool overlap_only_ram); /* Called by board init to initialize the EFI drivers */ -int efi_driver_init(void); +efi_status_t efi_driver_init(void); /* Called by board init to initialize the EFI memory map */ int efi_memory_init(void); /* Adds new or overrides configuration table entry to the system table */ |