Ports/acpica-tools: Prevent dangling pointer compiler warning

This commit is contained in:
Andre Herbst 2023-06-27 22:00:03 +02:00 committed by Linus Groh
parent d18cae7301
commit 703ac59b27

View file

@ -22,3 +22,12 @@ index f789e68..fd18f5c 100644
AcpiGbl_EntryStackPointer = &CurrentSp;
@@ -205,7 +205,7 @@ void
AcpiUtTrackStackPtr (
void)
{
- ACPI_SIZE CurrentSp;
+ static ACPI_SIZE CurrentSp;
if (&CurrentSp < AcpiGbl_LowestStackPointer)