diff options
Diffstat (limited to 'drivers/acpi/acpica/psargs.c')
-rw-r--r-- | drivers/acpi/acpica/psargs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c index 9f25a3d4e992..91a5a69db80c 100644 --- a/drivers/acpi/acpica/psargs.c +++ b/drivers/acpi/acpica/psargs.c | |||
@@ -629,24 +629,28 @@ static union acpi_parse_object *acpi_ps_get_next_field(struct acpi_parse_state | |||
629 | 629 | ||
630 | switch (opcode) { | 630 | switch (opcode) { |
631 | case AML_BYTE_OP: /* AML_BYTEDATA_ARG */ | 631 | case AML_BYTE_OP: /* AML_BYTEDATA_ARG */ |
632 | |||
632 | buffer_length = | 633 | buffer_length = |
633 | ACPI_GET8(parser_state->aml); | 634 | ACPI_GET8(parser_state->aml); |
634 | parser_state->aml += 1; | 635 | parser_state->aml += 1; |
635 | break; | 636 | break; |
636 | 637 | ||
637 | case AML_WORD_OP: /* AML_WORDDATA_ARG */ | 638 | case AML_WORD_OP: /* AML_WORDDATA_ARG */ |
639 | |||
638 | buffer_length = | 640 | buffer_length = |
639 | ACPI_GET16(parser_state->aml); | 641 | ACPI_GET16(parser_state->aml); |
640 | parser_state->aml += 2; | 642 | parser_state->aml += 2; |
641 | break; | 643 | break; |
642 | 644 | ||
643 | case AML_DWORD_OP: /* AML_DWORDATA_ARG */ | 645 | case AML_DWORD_OP: /* AML_DWORDATA_ARG */ |
646 | |||
644 | buffer_length = | 647 | buffer_length = |
645 | ACPI_GET32(parser_state->aml); | 648 | ACPI_GET32(parser_state->aml); |
646 | parser_state->aml += 4; | 649 | parser_state->aml += 4; |
647 | break; | 650 | break; |
648 | 651 | ||
649 | default: | 652 | default: |
653 | |||
650 | buffer_length = 0; | 654 | buffer_length = 0; |
651 | break; | 655 | break; |
652 | } | 656 | } |