ACPICA: Cleanup debug operand dump mechanism
Eliminated unnecessary operands; eliminated use of negative index in loop. Operands now displayed in correct order, not backwards. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
This commit is contained in:
@@ -515,12 +515,12 @@ acpi_ns_dump_one_object(acpi_handle obj_handle,
|
||||
|
||||
if (obj_type > ACPI_TYPE_LOCAL_MAX) {
|
||||
acpi_os_printf
|
||||
("(Ptr to ACPI Object type %X [UNKNOWN])\n",
|
||||
("(Pointer to ACPI Object type %.2X [UNKNOWN])\n",
|
||||
obj_type);
|
||||
bytes_to_dump = 32;
|
||||
} else {
|
||||
acpi_os_printf
|
||||
("(Ptr to ACPI Object type %X [%s])\n",
|
||||
("(Pointer to ACPI Object type %.2X [%s])\n",
|
||||
obj_type, acpi_ut_get_type_name(obj_type));
|
||||
bytes_to_dump =
|
||||
sizeof(union acpi_operand_object);
|
||||
|
Reference in New Issue
Block a user