summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaket Dumbre <saket.dumbre@intel.com>2023-10-19 01:30:43 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-12 16:13:14 +0300
commitc15fe3916b77bc809577898c0d5037b1bfd4183b (patch)
treeb86bfc211b1a91ea6dcae0d1bce83075ad6fa087
parent2e94dc11898042eb528eda3e09db242529722916 (diff)
downloadlinux-c15fe3916b77bc809577898c0d5037b1bfd4183b.tar.xz
ACPICA: Attempt 1 to fix issue #900
ACPICA commit f5910dd1ab60780b95eed16d36860f18b01bc156 Link: https://github.com/acpica/acpica/commit/f5910dd1 Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/acpica/utdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica/utdebug.c
index c5f6c85a3a09..2f37d673e285 100644
--- a/drivers/acpi/acpica/utdebug.c
+++ b/drivers/acpi/acpica/utdebug.c
@@ -42,7 +42,6 @@ void acpi_ut_init_stack_ptr_trace(void)
#pragma GCC diagnostic ignored "-Wdangling-pointer="
#endif
acpi_gbl_entry_stack_pointer = &current_sp;
-#pragma GCC diagnostic pop
}
/*******************************************************************************
@@ -63,6 +62,7 @@ void acpi_ut_track_stack_ptr(void)
if (&current_sp < acpi_gbl_lowest_stack_pointer) {
acpi_gbl_lowest_stack_pointer = &current_sp;
+#pragma GCC diagnostic pop
}
if (acpi_gbl_nesting_level > acpi_gbl_deepest_nesting) {