]> git.pld-linux.org Git - packages/acpica.git/blob - 0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch
- updated tests
[packages/acpica.git] / 0006-Use-more-reliable-ACPI_COPY_NAMSEG-in-GPE-name-check.patch
1 From 790c016107e98ded2d0ae579f84dd4cd3fa06587 Mon Sep 17 00:00:00 2001
2 From: Al Stone <ahs3@redhat.com>
3 Date: Tue, 29 Jun 2021 17:48:31 -0600
4 Subject: [PATCH 06/45] Use more reliable ACPI_COPY_NAMSEG in GPE name checks
5
6 Signed-off-by: Al Stone <ahs3@redhat.com>
7 ---
8  source/compiler/aslanalyze.c | 4 ++--
9  1 file changed, 2 insertions(+), 2 deletions(-)
10
11 Index: acpica-unix2-20220331/source/compiler/aslanalyze.c
12 ===================================================================
13 --- acpica-unix2-20220331.orig/source/compiler/aslanalyze.c
14 +++ acpica-unix2-20220331/source/compiler/aslanalyze.c
15 @@ -469,7 +469,7 @@ ApCheckForGpeNameConflict (
16  
17      /* Need a null-terminated string version of NameSeg */
18  
19 -    ACPI_MOVE_32_TO_32 (Name, Op->Asl.NameSeg);
20 +    ACPI_COPY_NAMESEG (Name, Op->Asl.NameSeg);
21      Name[ACPI_NAMESEG_SIZE] = 0;
22  
23      /*
24 @@ -496,7 +496,7 @@ ApCheckForGpeNameConflict (
25       * We are now sure we have an _Lxx or _Exx.
26       * Create the target name that would cause collision (Flip E/L)
27       */
28 -    ACPI_MOVE_32_TO_32 (Target, Name);
29 +    ACPI_COPY_NAMESEG (Target, Name);
30  
31      /* Inject opposite letter ("L" versus "E") */
32  
This page took 0.594882 seconds and 3 git commands to generate.