On Wed, 9 Sep 2020 at 06:33, Wolfgang Wallner
<wolfgang.wall...@br-automation.com> wrote:
>
> Add a missing memset to acpi_create_spcr().
>
> The other acpi_create_xxxx() functions perform a memset on their
> structures, acpi_create_spcr() does not and as a result the contents of
> this table are partly uninitialized (and thus random after every reset).
>
> Signed-off-by: Wolfgang Wallner <wolfgang.wall...@br-automation.com>
> ---
>
>  arch/x86/lib/acpi_table.c | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <s...@chromium.org>

For further thought, I do wonder if acpi_fill_header() should do the
memset, if sizeof() could be passed as a parameter?

Reply via email to