.. | .. |
---|
3 | 3 | * |
---|
4 | 4 | * Module Name: nsdump - table dumping routines for debug |
---|
5 | 5 | * |
---|
6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
---|
7 | 7 | * |
---|
8 | 8 | *****************************************************************************/ |
---|
9 | 9 | |
---|
.. | .. |
---|
70 | 70 | acpi_os_printf("?"); |
---|
71 | 71 | } |
---|
72 | 72 | |
---|
73 | | - pathname += ACPI_NAME_SIZE; |
---|
| 73 | + pathname += ACPI_NAMESEG_SIZE; |
---|
74 | 74 | num_segments--; |
---|
75 | 75 | if (num_segments) { |
---|
76 | 76 | acpi_os_printf("."); |
---|
.. | .. |
---|
197 | 197 | |
---|
198 | 198 | /* Now we can print out the pertinent information */ |
---|
199 | 199 | |
---|
200 | | - acpi_os_printf(" %-12s %p %2.2X ", |
---|
| 200 | + acpi_os_printf(" %-12s %p %3.3X ", |
---|
201 | 201 | acpi_ut_get_type_name(type), this_node, |
---|
202 | 202 | this_node->owner_id); |
---|
203 | 203 | |
---|
.. | .. |
---|
291 | 291 | for (i = 0; |
---|
292 | 292 | (i < obj_desc->buffer.length |
---|
293 | 293 | && i < 12); i++) { |
---|
294 | | - acpi_os_printf(" %.2hX", |
---|
| 294 | + acpi_os_printf(" %2.2X", |
---|
295 | 295 | obj_desc->buffer. |
---|
296 | 296 | pointer[i]); |
---|
297 | 297 | } |
---|
.. | .. |
---|
404 | 404 | case ACPI_TYPE_LOCAL_BANK_FIELD: |
---|
405 | 405 | case ACPI_TYPE_LOCAL_INDEX_FIELD: |
---|
406 | 406 | |
---|
407 | | - acpi_os_printf(" Off %.3X Len %.2X Acc %.2hd\n", |
---|
| 407 | + acpi_os_printf(" Off %.3X Len %.2X Acc %.2X\n", |
---|
408 | 408 | (obj_desc->common_field. |
---|
409 | 409 | base_byte_offset * 8) |
---|
410 | 410 | + |
---|
.. | .. |
---|
589 | 589 | |
---|
590 | 590 | goto cleanup; |
---|
591 | 591 | } |
---|
592 | | - |
---|
593 | | - obj_type = ACPI_TYPE_INVALID; /* Terminate loop after next pass */ |
---|
594 | 592 | } |
---|
595 | 593 | |
---|
596 | 594 | cleanup: |
---|