x86: acpi: Add memset to initialize SPCR table
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). Fixes: b288cd96 ("x86: acpi: Generate SPCR table") Signed-off-by: NWolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> [bmeng: fix the tags format in the commit message] Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
Showing
想要评论请 注册 或 登录