diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-10-02 06:08:26 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-10-16 16:39:38 +0200 |
commit | 6f566c231d93050e9366bc32067fdecd2aa8d8c6 (patch) | |
tree | 63d09916e5e062f1dc5b04e07672ac78fc20fd81 /include/efi_loader.h | |
parent | 60d798765666a2e967ef818a2a0df8ef1d0ab789 (diff) | |
download | u-boot-6f566c231d93050e9366bc32067fdecd2aa8d8c6.zip u-boot-6f566c231d93050e9366bc32067fdecd2aa8d8c6.tar.gz u-boot-6f566c231d93050e9366bc32067fdecd2aa8d8c6.tar.bz2 |
efi_loader: return type efi_console_register()
Use a return type that can encompass the return value.
This fixes CoverityScan CID 184090.
Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-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 34e44c6..1417c35 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -236,7 +236,7 @@ efi_status_t efi_root_node_register(void); /* Called by bootefi to initialize runtime */ efi_status_t efi_initialize_system_table(void); /* Called by bootefi to make console interface available */ -int efi_console_register(void); +efi_status_t efi_console_register(void); /* Called by bootefi to make all disk storage accessible as EFI objects */ efi_status_t efi_disk_register(void); /* Create handles and protocols for the partitions of a block device */ |