Package: acpica-unix / 20160831-1

asllookup-ppc64.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: acpica-unix-20160527/source/compiler/asllookup.c
===================================================================
--- acpica-unix-20160527.orig/source/compiler/asllookup.c
+++ acpica-unix-20160527/source/compiler/asllookup.c
@@ -176,7 +176,8 @@ LkIsObjectUsed (
                  * We ignore the predefined methods since often, not
                  * all arguments are needed or used.
                  */
-                if ((Node->Name.Ascii[0] != '_') &&
+                ACPI_MOVE_32_TO_32(&tmp.Ascii, Node->Name.Ascii);
+                if ((tmp.Ascii[0] != '_') &&
                     (!(MethodArgs[i].Flags & ASL_ARG_REFERENCED)))
                 {
                     sprintf (MsgBuffer, "Arg%u", i);