Skip to content

Commit

Permalink
ACPICA: Update several debug statements - no functional change.
Browse files Browse the repository at this point in the history
Update the format and information emitted from several
debug output statements.

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>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Jan 8, 2014
1 parent 4bec3d8 commit 87beb7e
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions drivers/acpi/acpica/dsutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,27 +727,26 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,
index++;
}

index--;
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
"NumOperands %d, ArgCount %d, Index %d\n",
walk_state->num_operands, arg_count, index));

/* It is the appropriate order to get objects from the Result stack */
/* Create the interpreter arguments, in reverse order */

index--;
for (i = 0; i < arg_count; i++) {
arg = arguments[index];

/* Force the filling of the operand stack in inverse order */

walk_state->operand_index = (u8) index;
walk_state->operand_index = (u8)index;

status = acpi_ds_create_operand(walk_state, arg, index);
if (ACPI_FAILURE(status)) {
goto cleanup;
}

index--;

ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
"Arg #%u (%p) done, Arg1=%p\n", index, arg,
first_arg));
"Created Arg #%u (%p) %u args total\n",
index, arg, arg_count));
index--;
}

return_ACPI_STATUS(status);
Expand Down

0 comments on commit 87beb7e

Please sign in to comment.