diff options
| author | Wolfgang Wallner <[email protected]> | 2020-09-16 16:57:53 +0200 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2020-09-21 16:41:36 +0800 |
| commit | 40edea3a07ebb89e86c9bde8c94000c8f6613be7 (patch) | |
| tree | bd7cfe7a8248bee4d51e8bfcd7da968816c8efb6 /include | |
| parent | 3f6966ab2b9a2264c05d699353e61b276b1a85bd (diff) | |
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: b288cd960072 ("x86: acpi: Generate SPCR table")
Signed-off-by: Wolfgang Wallner <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
[bmeng: fix the tags format in the commit message]
Signed-off-by: Bin Meng <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
