efi_loader: return type efi_console_register()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 2 Oct 2018 04:08:26 +0000 (06:08 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 16 Oct 2018 14:39:38 +0000 (16:39 +0200)
commit6f566c231d93050e9366bc32067fdecd2aa8d8c6
tree63d09916e5e062f1dc5b04e07672ac78fc20fd81
parent60d798765666a2e967ef818a2a0df8ef1d0ab789
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>
include/efi_loader.h
lib/efi_loader/efi_console.c