mirror of
https://github.com/acpica/acpica/
synced 2025-01-24 02:12:06 +03:00
Fix ACPI_FUNCTION_ENTRY()
This commit is contained in:
parent
24dc245931
commit
54dede760b
@ -431,12 +431,12 @@ 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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user