Blame SOURCES/0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch

214d7a
From 790c016107e98ded2d0ae579f84dd4cd3fa06587 Mon Sep 17 00:00:00 2001
214d7a
From: Al Stone <ahs3@redhat.com>
214d7a
Date: Tue, 29 Jun 2021 17:48:31 -0600
214d7a
Subject: [PATCH 06/45] Use more reliable ACPI_COPY_NAMSEG in GPE name checks
214d7a
214d7a
Signed-off-by: Al Stone <ahs3@redhat.com>
214d7a
---
214d7a
 source/compiler/aslanalyze.c | 4 ++--
214d7a
 1 file changed, 2 insertions(+), 2 deletions(-)
214d7a
214d7a
Index: acpica-unix2-20210604/source/compiler/aslanalyze.c
214d7a
===================================================================
214d7a
--- acpica-unix2-20210604.orig/source/compiler/aslanalyze.c
214d7a
+++ acpica-unix2-20210604/source/compiler/aslanalyze.c
214d7a
@@ -469,7 +469,7 @@ ApCheckForGpeNameConflict (
214d7a
 
214d7a
     /* Need a null-terminated string version of NameSeg */
214d7a
 
214d7a
-    ACPI_MOVE_32_TO_32 (Name, Op->Asl.NameSeg);
214d7a
+    ACPI_COPY_NAMESEG (Name, Op->Asl.NameSeg);
214d7a
     Name[ACPI_NAMESEG_SIZE] = 0;
214d7a
 
214d7a
     /*
214d7a
@@ -496,7 +496,7 @@ ApCheckForGpeNameConflict (
214d7a
      * We are now sure we have an _Lxx or _Exx.
214d7a
      * Create the target name that would cause collision (Flip E/L)
214d7a
      */
214d7a
-    ACPI_MOVE_32_TO_32 (Target, Name);
214d7a
+    ACPI_COPY_NAMESEG (Target, Name);
214d7a
 
214d7a
     /* Inject opposite letter ("L" versus "E") */
214d7a