[PATCH v1 04/43] acpi: Allow creating the GNVS to fail
Bin Meng
bmeng.cn at gmail.com
Tue Jun 30 04:36:31 CEST 2020
On Mon, Jun 15, 2020 at 11:57 AM Simon Glass <sjg at 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 at 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 at gmail.com>
More information about the U-Boot
mailing list