.. | .. |
---|
3 | 3 | * |
---|
4 | 4 | * Module Name: tbprint - Table output utilities |
---|
5 | 5 | * |
---|
6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
---|
7 | 7 | * |
---|
8 | 8 | *****************************************************************************/ |
---|
9 | 9 | |
---|
.. | .. |
---|
69 | 69 | |
---|
70 | 70 | memcpy(out_header, header, sizeof(struct acpi_table_header)); |
---|
71 | 71 | |
---|
72 | | - acpi_tb_fix_string(out_header->signature, ACPI_NAME_SIZE); |
---|
| 72 | + acpi_tb_fix_string(out_header->signature, ACPI_NAMESEG_SIZE); |
---|
73 | 73 | acpi_tb_fix_string(out_header->oem_id, ACPI_OEM_ID_SIZE); |
---|
74 | 74 | acpi_tb_fix_string(out_header->oem_table_id, ACPI_OEM_TABLE_ID_SIZE); |
---|
75 | | - acpi_tb_fix_string(out_header->asl_compiler_id, ACPI_NAME_SIZE); |
---|
| 75 | + acpi_tb_fix_string(out_header->asl_compiler_id, ACPI_NAMESEG_SIZE); |
---|
76 | 76 | } |
---|
77 | 77 | |
---|
78 | 78 | /******************************************************************************* |
---|
.. | .. |
---|
94 | 94 | { |
---|
95 | 95 | struct acpi_table_header local_header; |
---|
96 | 96 | |
---|
97 | | - if (ACPI_COMPARE_NAME(header->signature, ACPI_SIG_FACS)) { |
---|
| 97 | + if (ACPI_COMPARE_NAMESEG(header->signature, ACPI_SIG_FACS)) { |
---|
98 | 98 | |
---|
99 | 99 | /* FACS only has signature and length fields */ |
---|
100 | 100 | |
---|
.. | .. |
---|
158 | 158 | * They are the odd tables, have no standard ACPI header and no checksum |
---|
159 | 159 | */ |
---|
160 | 160 | |
---|
161 | | - if (ACPI_COMPARE_NAME(table->signature, ACPI_SIG_S3PT) || |
---|
162 | | - ACPI_COMPARE_NAME(table->signature, ACPI_SIG_FACS)) { |
---|
| 161 | + if (ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_S3PT) || |
---|
| 162 | + ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_FACS)) { |
---|
163 | 163 | return (AE_OK); |
---|
164 | 164 | } |
---|
165 | 165 | |
---|