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

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