diff options
author | Rafael J. Wysocki | 2023-09-22 18:34:34 +0200 |
---|---|---|
committer | Rafael J. Wysocki | 2023-09-22 18:34:34 +0200 |
commit | a1001c37f83b30a75c17796b453769773b71f9b2 (patch) | |
tree | 387e7daf5a120bfb4064e7dcfac75276a3773520 | |
parent | e86cdc80c6ee5dbf9a22bd2b260ebd28f09624f8 (diff) | |
parent | b2eb3e67ee68dee9c0555466dfa8d7f0ffcc00db (diff) |
Merge branch 'acpi-processor'
Merge a fix for recently introduced uninitialized memory access in the
ACPI processor driver from Michal Wilczynski.
* acpi-processor:
ACPI: processor: Fix uninitialized access of buf in acpi_set_pdc_bits()
-rw-r--r-- | drivers/acpi/processor_pdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_pdc.c index 1a8591e9a9bf..994091bd52de 100644 --- a/drivers/acpi/processor_pdc.c +++ b/drivers/acpi/processor_pdc.c @@ -19,6 +19,7 @@ static void acpi_set_pdc_bits(u32 *buf) { buf[0] = ACPI_PDC_REVISION_ID; buf[1] = 1; + buf[2] = 0; /* Twiddle arch-specific bits needed for _PDC */ arch_acpi_set_proc_cap_bits(&buf[2]); |