diff options
author | Bob Moore <robert.moore@intel.com> | 2012-05-02 21:41:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-01 11:51:49 -0400 |
commit | 579e3820bd1381d36b2c41485e9e7a94216bb7ed (patch) | |
tree | f6699d92817ab94f0d0cbf17e86b3dbe889fa9ce /drivers/acpi/acpica/exdump.c | |
parent | 6af1c4fc5227af65092ebc848989693562bfa3e8 (diff) |
ACPICA: Object dump routines: Use common function for string output
For ACPI string objects, always use the common string dump
function, acpi_ut_print_string. This function surrounds the string
with quotes and handles allowed escape sequences.
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>
Diffstat (limited to 'drivers/acpi/acpica/exdump.c')
-rw-r--r-- | drivers/acpi/acpica/exdump.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/exdump.c b/drivers/acpi/acpica/exdump.c index 2a6ac0a3bc1e..836fe76e65d0 100644 --- a/drivers/acpi/acpica/exdump.c +++ b/drivers/acpi/acpica/exdump.c | |||
@@ -926,9 +926,7 @@ acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc, | |||
926 | case ACPI_TYPE_STRING: | 926 | case ACPI_TYPE_STRING: |
927 | 927 | ||
928 | acpi_os_printf("[String] Value: "); | 928 | acpi_os_printf("[String] Value: "); |
929 | for (i = 0; i < obj_desc->string.length; i++) { | 929 | acpi_ut_print_string(obj_desc->string.pointer, ACPI_UINT8_MAX); |
930 | acpi_os_printf("%c", obj_desc->string.pointer[i]); | ||
931 | } | ||
932 | acpi_os_printf("\n"); | 930 | acpi_os_printf("\n"); |
933 | break; | 931 | break; |
934 | 932 | ||