]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_driver: return type of efi_driver_init()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 1 Feb 2018 11:53:32 +0000 (12:53 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 9 Feb 2018 23:24:00 +0000 (00:24 +0100)
commit038782a27ad24260a4bc536772e10c351cf6522d
tree68fb1ca814d0fd2c0b41c1a96d22bfc4d079b0ec
parentf19a95a40b9f6fd2845fce1c6442042b662bce28
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>
include/efi_loader.h
lib/efi_driver/efi_uclass.c