]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Allow writing tables to fail
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:18 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 5 Nov 2020 06:58:45 +0000 (14:58 +0800)
commit38e498c3a2b5b52e7935516cba0927e0d90c365c
treefe31ec366ac573b57b44f0f15d2031c565a50622
parent653554b40aa5c1d32e9a6281dc97f1b75eff724b
x86: Allow writing tables to fail

At present write_tables() can fail but does not report this problem to its
caller. Fix this by changing the return type.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c
arch/x86/include/asm/tables.h
arch/x86/lib/tables.c