diff options
author | Kees Cook <kees@outflux.net> | 2022-11-18 09:49:35 -0800 |
---|---|---|
committer | Kees Cook <kees@outflux.net> | 2022-11-18 09:50:48 -0800 |
commit | cc3a0ab278d23a6b880d001fb14e4f33ba299fc5 (patch) | |
tree | d9e3e2bd95fa8033b9eff2a035f9d3de4f9d9e6f | |
parent | 7b5a01c90b240d126efc86f9f99100db918d452e (diff) | |
download | acpica-cc3a0ab278d23a6b880d001fb14e4f33ba299fc5.tar.gz |
ACPI_MADT_OEM_DATA: Fix flexible array member definition
Use ACPI_FLEX_ARRAY() helper to define flexible array member alone in a
struct. Fixes issue #812.
-rw-r--r-- | source/include/actbl2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/actbl2.h b/source/include/actbl2.h index 10c61f8e2..2faea8e41 100644 --- a/source/include/actbl2.h +++ b/source/include/actbl2.h @@ -1550,7 +1550,7 @@ enum AcpiMadtLpcPicVersion { typedef struct acpi_madt_oem_data { - UINT8 OemData[]; + ACPI_FLEX_ARRAY(UINT8, OemData); } ACPI_MADT_OEM_DATA; |