| .. | .. |
|---|
| 141 | 141 | * Special case for the root node. This can happen if we get an |
|---|
| 142 | 142 | * error during the execution of module-level code. |
|---|
| 143 | 143 | */ |
|---|
| 144 | | - if (ACPI_COMPARE_NAME(name, ACPI_ROOT_PATHNAME)) { |
|---|
| 144 | + if (ACPI_COMPARE_NAMESEG(name, ACPI_ROOT_PATHNAME)) { |
|---|
| 145 | 145 | return; |
|---|
| 146 | 146 | } |
|---|
| 147 | 147 | |
|---|
| 148 | | - ACPI_MOVE_NAME(&original_name, name); |
|---|
| 148 | + ACPI_COPY_NAMESEG(&original_name, name); |
|---|
| 149 | 149 | |
|---|
| 150 | 150 | /* Check each character in the name */ |
|---|
| 151 | 151 | |
|---|
| 152 | | - for (i = 0; i < ACPI_NAME_SIZE; i++) { |
|---|
| 152 | + for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { |
|---|
| 153 | 153 | if (acpi_ut_valid_name_char(name[i], i)) { |
|---|
| 154 | 154 | continue; |
|---|
| 155 | 155 | } |
|---|