Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a1001c37 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

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()
parents e86cdc80 b2eb3e67
No related merge requests found
...@@ -19,6 +19,7 @@ static void acpi_set_pdc_bits(u32 *buf) ...@@ -19,6 +19,7 @@ static void acpi_set_pdc_bits(u32 *buf)
{ {
buf[0] = ACPI_PDC_REVISION_ID; buf[0] = ACPI_PDC_REVISION_ID;
buf[1] = 1; buf[1] = 1;
buf[2] = 0;
/* Twiddle arch-specific bits needed for _PDC */ /* Twiddle arch-specific bits needed for _PDC */
arch_acpi_set_proc_cap_bits(&buf[2]); arch_acpi_set_proc_cap_bits(&buf[2]);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment