summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2022-09-13 19:29:39 +0100
committerJessica Clarke <jrtc27@jrtc27.com>2022-09-13 19:29:39 +0100
commitf0c4a06f1dfc4886d4e0c2aa30bc57b10c5a8c53 (patch)
tree936761f9fe55aa5719fb06d7251b6ea949d35fc7 /source
parent7021087eedb0d7156286e9e4f255e93c07816921 (diff)
downloadacpica-f0c4a06f1dfc4886d4e0c2aa30bc57b10c5a8c53.tar.gz
Headers: Delete bogus NodeArray array of pointers from AEST table
Like many tables, this is a header followed by multiple subtables of varying self-identifying types, and ACPICA does not normally add a field for the subtables, instead relying on pointer arithmetic past the end of the first header struct, since indexing a flexible array member is meaningless for variable-length entries. If we really wanted a field for this, we could use a UINT8 flexible array member, but it contradicts the current style. Using void *, however, is categorically wrong, as ACPI tables never contain native C-language pointers.
Diffstat (limited to 'source')
-rw-r--r--source/include/actbl2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/include/actbl2.h b/source/include/actbl2.h
index 67de89db8..258fc89d8 100644
--- a/source/include/actbl2.h
+++ b/source/include/actbl2.h
@@ -229,7 +229,6 @@
typedef struct acpi_table_aest
{
ACPI_TABLE_HEADER Header;
- void *NodeArray[];
} ACPI_TABLE_AEST;