]> git.baikalelectronics.ru Git - uboot.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)
commitcea72c9bb15947987358c2cf6cc66d2eaf9a87e5
tree68fb1ca814d0fd2c0b41c1a96d22bfc4d079b0ec
parentef929e34a69bd345cc61c487a4060cd9f67602d5
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