]> git.sur5r.net Git - u-boot/commit
efi_loader: efi_smbios_register should have a return value
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 3 Mar 2018 14:28:54 +0000 (15:28 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 4 Apr 2018 09:00:06 +0000 (11:00 +0200)
commit7657152bddd131e47390c2b2d6f63d58149d79f1
tree588d0f4f640015292b20b00dbc8a7e2c7019d23f
parent1914e5b5d86a31fdf14d69a036e5dac957f5e3af
efi_loader: efi_smbios_register should have a return value

Errors may occur inside efi_smbios_register().

- Return a status code.
- Remove unused variables.
- Use constants where applicable.

Suggested-by: Simon Glass <sjg@chromium.org>
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_smbios.c