summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/utdebug.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-10-31 06:26:01 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 03:31:24 +0400
commit68aafc35161dcc9d365a32c2f9f077aedc61754d (patch)
tree86604dba947e9ee53dad4e613f1f1d7f47e8b5b8 /drivers/acpi/acpica/utdebug.c
parent86ff0e508f88eda6e479a897476026055831d2d8 (diff)
downloadlinux-68aafc35161dcc9d365a32c2f9f077aedc61754d.tar.xz
ACPICA: Audit/update for ACPICA return macros and debug depth counter
1) Ensure that all functions that use the various TRACE macros also use the appropriate ACPICA return macros. 2) Ensure that all normal return statements surround the return expression (value) with parens. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utdebug.c')
-rw-r--r--drivers/acpi/acpica/utdebug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica/utdebug.c
index 6e3ae6a23f0b..2c2179917649 100644
--- a/drivers/acpi/acpica/utdebug.c
+++ b/drivers/acpi/acpica/utdebug.c
@@ -300,6 +300,7 @@ acpi_ut_trace_ptr(u32 line_number,
const char *function_name,
const char *module_name, u32 component_id, void *pointer)
{
+
acpi_gbl_nesting_level++;
acpi_ut_track_stack_ptr();