summaryrefslogtreecommitdiff
path: root/source/compiler/aslutils.c
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2019-02-22 07:17:52 -0800
committerRobert Moore <Robert.Moore@intel.com>2019-02-22 07:17:52 -0800
commit19c18d3157945d1b8b64a826f0a8e848b7dbb127 (patch)
tree504fbb62344eb8c0d948395d4299b05d08acf4dc /source/compiler/aslutils.c
parent3132320003b348bcf48274d4e326e496ffc4b23b (diff)
downloadacpica-19c18d3157945d1b8b64a826f0a8e848b7dbb127.tar.gz
Rename nameseg copy macro for clarity
ACPI_MOVE_NAME changed to ACPI_COPY_NAMESEG This clarifies (1) this is a copy operation, and (2) it operates on ACPI NameSegs. Improves understanding of the code.
Diffstat (limited to 'source/compiler/aslutils.c')
-rw-r--r--source/compiler/aslutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c
index 1fc98bb52..a32f3993c 100644
--- a/source/compiler/aslutils.c
+++ b/source/compiler/aslutils.c
@@ -823,7 +823,7 @@ UtAttachNameseg (
UtPadNameWithUnderscores (Name, PaddedNameSeg);
}
- ACPI_MOVE_NAME (Op->Asl.NameSeg, PaddedNameSeg);
+ ACPI_COPY_NAMESEG (Op->Asl.NameSeg, PaddedNameSeg);
}