Blame SOURCES/asllookup-miscompare.patch
|
|
305057 |
diff --git a/source/compiler/asllookup.c b/source/compiler/asllookup.c
|
|
|
305057 |
index 6114822..2da9f71 100644
|
|
|
305057 |
--- a/source/compiler/asllookup.c
|
|
|
305057 |
+++ b/source/compiler/asllookup.c
|
|
|
305057 |
@@ -119,6 +119,7 @@ LkIsObjectUsed (
|
|
|
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 */
|
|
|
305057 |
@@ -162,8 +163,9 @@ LkIsObjectUsed (
|
|
|
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);
|