Skip to content

Commit

Permalink
Merge pull request #41 from zetalog/acpica-access
Browse files Browse the repository at this point in the history
Executer: Fix trivial issues in AcpiGetSerialAccessBytes().
  • Loading branch information
acpibob committed Jun 26, 2014
2 parents 14fe92f + f5ee5b5 commit 9509030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/components/executer/exfield.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ AcpiExGetSerialAccessLength (

/*******************************************************************************
*
* FUNCTION: AcpiGetSerialAccessBytes
* FUNCTION: AcpiExGetSerialAccessLength
*
* PARAMETERS: AccessorType - The type of the protocol indicated by region
* field access attributes
Expand Down Expand Up @@ -187,7 +187,7 @@ AcpiExGetSerialAccessLength (
case AML_FIELD_ATTRIB_BLOCK_CALL:
default:

Length = ACPI_GSBUS_BUFFER_SIZE;
Length = ACPI_GSBUS_BUFFER_SIZE - 2;
break;
}

Expand Down

0 comments on commit 9509030

Please sign in to comment.