From 8811b910b092027f905013bced1da3e87c6b07b9 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Tue, 16 Jun 2015 19:48:16 +0000 Subject: Import ACPICA 20150616. --- source/compiler/dttable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/compiler/dttable.c') diff --git a/source/compiler/dttable.c b/source/compiler/dttable.c index d7b2e90f3949..22b4c9c4c165 100644 --- a/source/compiler/dttable.c +++ b/source/compiler/dttable.c @@ -1824,7 +1824,7 @@ DtCompileIvrs ( if (IvrsHeader->Type == ACPI_IVRS_TYPE_HARDWARE) { while (*PFieldList && - !ACPI_STRCMP ((*PFieldList)->Name, "Entry Type")) + !strcmp ((*PFieldList)->Name, "Entry Type")) { SubtableStart = *PFieldList; DtCompileInteger (&EntryType, *PFieldList, 1, 0); @@ -3403,13 +3403,13 @@ DtCompileGeneric ( /* Now we can actually compile the parse tree */ - if (*Length) + if (Length && *Length) { *Length = 0; } while (*PFieldList) { - if (Name && !ACPI_STRCMP ((*PFieldList)->Name, Name)) + if (Name && !strcmp ((*PFieldList)->Name, Name)) { break; } -- cgit v1.2.3