Skip to content

Commit

Permalink
ACPI: add dump_stack() to trace acpi_format_exception programming errors
Browse files Browse the repository at this point in the history
Dump the stack so we can find the secretive caller to acpi_format_exception().

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Andrew Morton authored and Len Brown committed Aug 25, 2007
1 parent b3e572d commit 3e0d69e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/utilities/utglobal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3e0d69e

Please sign in to comment.