Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e0d69ec authored by Andrew Morton's avatar Andrew Morton Committed by Len Brown
Browse files

ACPI: add dump_stack() to trace acpi_format_exception programming errors



Dump the stack so we can find the secretive caller to acpi_format_exception().

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent b3e572d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@ const char *acpi_format_exception(acpi_status status)
			    "Unknown exception code: 0x%8.8X", status));

		exception = "UNKNOWN_STATUS_CODE";
		dump_stack();
	}

	return (ACPI_CAST_PTR(const char, exception));