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()
This commit is contained in:
commit
a1001c37f8
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user