Kernel Bug Tracker – Bug 3336
ACPI_FUNCTION_TRACE() missing return's
Last modified: 2004-11-15 19:41:59 UTC
I have noticed a problem within many of the Linux ACPI-related drivers.
When ACPI_FUNCTION_TRACE() is used, all return() statements within the
function should use the ACPI return macros (return_ACPI_STATUS, etc.) instead
of just a raw return. These return macros maintain the function nesting count
(nesting count is incremented by ACPI_FUNCTION_TRACE, and decremented by the
The nesting depth is very useful when analyzing execution traces of ACPI code.
Created attachment 3930 [details]
patch against 188.8.131.52 ACPI tree
Shipped in Linux 2.6.10-rc2 - closed.