Skip to content

Commit

Permalink
ACPI_MADT_OEM_DATA: Fix flexible array member definition
Browse files Browse the repository at this point in the history
Use ACPI_FLEX_ARRAY() helper to define flexible array member alone in a
struct. Fixes issue #812.

No binary changes appear in the .text nor .data sections.
  • Loading branch information
kees committed Mar 2, 2023
1 parent 3c19ae7 commit e7f6d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/include/actbl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ enum AcpiMadtLpcPicVersion {

typedef struct acpi_madt_oem_data
{
UINT8 OemData[0];
ACPI_FLEX_ARRAY(UINT8, OemData);
} ACPI_MADT_OEM_DATA;


Expand Down

0 comments on commit e7f6d8c

Please sign in to comment.