]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: processor: fix acpi_object initialization
authorSebastian Ott <sebott@redhat.com>
Thu, 3 Jul 2025 12:42:15 +0000 (14:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:25:53 +0000 (16:25 +0200)
commitec586c21b8ffbbec2ca3faa6abbdaa51cabc4ac8
tree062e02512acc95e45c07a109d2c81fa719c8f318
parenta5ba5059f265d53bb9f5066097543246234cdd9a
ACPI: processor: fix acpi_object initialization

[ Upstream commit 13edf7539211d8f7d0068ce3ed143005f1da3547 ]

Initialization of the local acpi_object in acpi_processor_get_info()
only sets the first 4 bytes to zero and is thus incomplete. This is
indicated by messages like:
acpi ACPI0007:be: Invalid PBLK length [166288104]

Fix this by initializing all 16 bytes of the processor member of that
union.

Signed-off-by: Sebastian Ott <sebott@redhat.com>
Link: https://patch.msgid.link/20250703124215.12522-1-sebott@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/acpi_processor.c