Blame SOURCES/asllookup-miscompare.patch
|
|
482972 |
diff -urN acpica-unix2-20140214/source/compiler/asllookup.c acpica-unix2-20140214-patch/source/compiler/asllookup.c
|
|
|
482972 |
--- acpica-unix2-20140214/source/compiler/asllookup.c 2014-02-14 16:23:33.000000000 -0700
|
|
|
482972 |
+++ acpica-unix2-20140214-patch/source/compiler/asllookup.c 2014-02-27 11:50:52.168659866 -0700
|
|
|
482972 |
@@ -119,6 +119,7 @@
|
|
|
482972 |
{
|
|
|
482972 |
ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjHandle);
|
|
|
482972 |
ACPI_NAMESPACE_NODE *Next;
|
|
|
482972 |
+ ACPI_NAME_UNION tmp;
|
|
|
482972 |
|
|
|
482972 |
|
|
|
482972 |
/* Referenced flag is set during the namespace xref */
|
|
|
482972 |
@@ -162,8 +163,9 @@
|
|
|
482972 |
* Issue a remark even if it is a reserved name (starts
|
|
|
482972 |
* with an underscore).
|
|
|
482972 |
*/
|
|
|
482972 |
+ ACPI_MOVE_32_TO_32(&tmp.Ascii, Next->Name.Ascii);
|
|
|
482972 |
sprintf (MsgBuffer, "Name is within method [%4.4s]",
|
|
|
482972 |
- Next->Name.Ascii);
|
|
|
482972 |
+ tmp.Ascii);
|
|
|
482972 |
AslError (ASL_REMARK, ASL_MSG_NOT_REFERENCED,
|
|
|
482972 |
LkGetNameOp (Node->Op), MsgBuffer);
|
|
|
482972 |
return (AE_OK);
|