Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37546492
en ru br
ALT Linux repos
S:20230628-alt1

Group :: System/Kernel and hardware
RPM: acpica

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mips-be-fix.patch
Download


Index: acpica-unix2-20220331/source/compiler/aslparseop.c
===================================================================
--- acpica-unix2-20220331.orig/source/compiler/aslparseop.c
+++ acpica-unix2-20220331/source/compiler/aslparseop.c
@@ -285,7 +285,16 @@ TrCreateValuedLeafOp (
 
 
     Op = TrAllocateOp (ParseOpcode);
-    Op->Asl.Value.Integer = Value;
+    if (ParseOpcode == PARSEOP_NAMESTRING ||
+        ParseOpcode == PARSEOP_NAMESEG ||
+        ParseOpcode == PARSEOP_STRING_LITERAL)
+    {
+        Op->Asl.Value.String = (char *) Value;
+    }
+    else
+    {
+        Op->Asl.Value.Integer = Value;
+    }
 
     DbgPrint (ASL_PARSE_OUTPUT,
         "\nCreateValuedLeafOp  Ln/Col %u/%u NewOp %p  "
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin