diff options
Diffstat (limited to 'source/compiler/aslopcodes.c')
| -rw-r--r-- | source/compiler/aslopcodes.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/source/compiler/aslopcodes.c b/source/compiler/aslopcodes.c index 0a22b79a36ee..fa3d1fca0e11 100644 --- a/source/compiler/aslopcodes.c +++ b/source/compiler/aslopcodes.c @@ -636,7 +636,7 @@ OpcDoEisaId (       * The EISAID string must be exactly 7 characters and of the form       * "UUUXXXX" -- 3 uppercase letters and 4 hex digits (e.g., "PNP0001")       */ -    if (ACPI_STRLEN (InString) != 7) +    if (strlen (InString) != 7)      {          Status = AE_BAD_PARAMETER;      } @@ -855,7 +855,7 @@ OpcFindName (      for (i = 0, Str = List[0]; Str; i++, Str = List[i])      { -        if (!(ACPI_STRNCMP (Str, Name, ACPI_STRLEN (Name)))) +        if (!(strncmp (Str, Name, strlen (Name))))          {              *Index = i;              return (TRUE); @@ -907,7 +907,7 @@ OpcDoPld (          return;      } -    ACPI_MEMSET (&PldInfo, 0, sizeof (ACPI_PLD_INFO)); +    memset (&PldInfo, 0, sizeof (ACPI_PLD_INFO));      Node = Op->Asl.Child;      while (Node) | 
