patch-2.4.23 linux-2.4.23/drivers/acpi/dispatcher/dswscope.c
Next file: linux-2.4.23/drivers/acpi/dispatcher/dswstate.c
Previous file: linux-2.4.23/drivers/acpi/dispatcher/dswload.c
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/drivers/acpi/dispatcher/dswscope.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.22/drivers/acpi/dispatcher/dswscope.c linux-2.4.23/drivers/acpi/dispatcher/dswscope.c
@@ -121,10 +121,9 @@
/* Make sure object type is valid */
if (!acpi_ut_valid_object_type (type)) {
- ACPI_REPORT_WARNING (("ds_scope_stack_push: type code out of range\n"));
+ ACPI_REPORT_WARNING (("ds_scope_stack_push: Invalid object type: 0x%X\n", type));
}
-
/* Allocate a new scope object */
scope_info = acpi_ut_create_generic_state ();
@@ -146,13 +145,13 @@
old_scope_info = walk_state->scope_info;
if (old_scope_info) {
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_EXEC,
- "[%4.4s] (%10s)",
+ "[%4.4s] (%s)",
old_scope_info->scope.node->name.ascii,
acpi_ut_get_type_name (old_scope_info->common.value)));
}
else {
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_EXEC,
- "[\\___] (%10s)", "ROOT"));
+ "[\\___] (%s)", "ROOT"));
}
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_EXEC,
@@ -163,7 +162,6 @@
/* Push new scope object onto stack */
acpi_ut_push_generic_state (&walk_state->scope_info, scope_info);
-
return_ACPI_STATUS (AE_OK);
}
@@ -207,7 +205,7 @@
walk_state->scope_depth--;
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
- "[%.2d] Popped scope [%4.4s] (%10s), New scope -> ",
+ "[%.2d] Popped scope [%4.4s] (%s), New scope -> ",
(u32) walk_state->scope_depth,
scope_info->scope.node->name.ascii,
acpi_ut_get_type_name (scope_info->common.value)));
@@ -225,7 +223,6 @@
}
acpi_ut_delete_generic_state (scope_info);
-
return_ACPI_STATUS (AE_OK);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)