| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: psargs - Parse AML opcode arguments |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 150 | 150 | |
|---|
| 151 | 151 | /* Two name segments */ |
|---|
| 152 | 152 | |
|---|
| 153 | | - end += 1 + (2 * ACPI_NAME_SIZE); |
|---|
| 153 | + end += 1 + (2 * ACPI_NAMESEG_SIZE); |
|---|
| 154 | 154 | break; |
|---|
| 155 | 155 | |
|---|
| 156 | 156 | case AML_MULTI_NAME_PREFIX: |
|---|
| 157 | 157 | |
|---|
| 158 | 158 | /* Multiple name segments, 4 chars each, count in next byte */ |
|---|
| 159 | 159 | |
|---|
| 160 | | - end += 2 + (*(end + 1) * ACPI_NAME_SIZE); |
|---|
| 160 | + end += 2 + (*(end + 1) * ACPI_NAMESEG_SIZE); |
|---|
| 161 | 161 | break; |
|---|
| 162 | 162 | |
|---|
| 163 | 163 | default: |
|---|
| 164 | 164 | |
|---|
| 165 | 165 | /* Single name segment */ |
|---|
| 166 | 166 | |
|---|
| 167 | | - end += ACPI_NAME_SIZE; |
|---|
| 167 | + end += ACPI_NAMESEG_SIZE; |
|---|
| 168 | 168 | break; |
|---|
| 169 | 169 | } |
|---|
| 170 | 170 | |
|---|
| .. | .. |
|---|
| 522 | 522 | |
|---|
| 523 | 523 | ACPI_MOVE_32_TO_32(&name, parser_state->aml); |
|---|
| 524 | 524 | acpi_ps_set_name(field, name); |
|---|
| 525 | | - parser_state->aml += ACPI_NAME_SIZE; |
|---|
| 525 | + parser_state->aml += ACPI_NAMESEG_SIZE; |
|---|
| 526 | 526 | |
|---|
| 527 | 527 | ASL_CV_CAPTURE_COMMENTS_ONLY(parser_state); |
|---|
| 528 | 528 | |
|---|