
30 Jun
2020
30 Jun
'20
4:36 a.m.
On Mon, Jun 15, 2020 at 11:57 AM Simon Glass sjg@chromium.org wrote:
In some cases an internal error may prevent this from working. Update the function return value and report the error. At present the API for writing tables does not easily support reporting errors, but once it is fully updated to use a context pointer, this will be easier.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v1:
- Add linux/err.h header
arch/x86/cpu/baytrail/acpi.c | 4 +++- arch/x86/cpu/quark/acpi.c | 4 +++- arch/x86/cpu/tangier/acpi.c | 4 +++- arch/x86/include/asm/acpi_table.h | 10 +++++++++- arch/x86/lib/acpi_table.c | 11 +++++++++-- 5 files changed, 27 insertions(+), 6 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com