summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2023-04-04 07:21:34 -0400
committerTamir Duberstein <tamird@google.com>2023-04-04 07:21:34 -0400
commitbd2d7c9ddba591fc91aa93d4c7ab3b3947c9d71a (patch)
treecaa7f107a2e0062a216cf37309949549a4d2e55f
parent4578e0e94d945e56547749316691017880c8ee74 (diff)
downloadacpica-bd2d7c9ddba591fc91aa93d4c7ab3b3947c9d71a.tar.gz
Move ACPI_FUNCTION_ENTRY to function entry
This changed in f98909b7928cac8c5328e4852ad5a7ea671204fb, seemingly by accident.
-rw-r--r--source/components/resources/rsaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/components/resources/rsaddr.c b/source/components/resources/rsaddr.c
index beee83803..802731081 100644
--- a/source/components/resources/rsaddr.c
+++ b/source/components/resources/rsaddr.c
@@ -431,13 +431,13 @@ AcpiRsGetAddressCommon (
ACPI_RESOURCE *Resource,
AML_RESOURCE *Aml)
{
+ ACPI_FUNCTION_ENTRY();
+
/* Avoid undefined behavior: member access within misaligned address */
AML_RESOURCE_ADDRESS Address;
memcpy(&Address, Aml, sizeof(Address));
- ACPI_FUNCTION_ENTRY();
-
/* Validate the Resource Type */
if ((Address.ResourceType > 2) &&