aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt2024-01-31 23:49:34 +0100
committerHeinrich Schuchardt2024-02-02 19:57:45 +0100
commit406c410ef747d66e16f2f5494cbf88ba1307224f (patch)
treed1d299e98db982d1379cb1d2a009e1c437dbb454 /include
parente494258deddcae4a6805abfbb643b2fdc8ac3736 (diff)
smbios: correctly name Structure Table Maximum Size field
In the SMBIOS 3 entry point the Structure Table Maximum Size field was incorrectly named max_struct_size. A Maximum Structure Size field only exists in the SMBIOS 2.1 entry point and has a different meaning. Call the Structure Table Length field table_maximum_size. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include')
-rw-r--r--include/smbios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/smbios.h b/include/smbios.h
index e2b7f695846..3df8827b60d 100644
--- a/include/smbios.h
+++ b/include/smbios.h
@@ -75,7 +75,7 @@ struct __packed smbios3_entry {
/** @reserved: reserved */
u8 reserved;
/** maximum size of SMBIOS table */
- u32 max_struct_size;
+ u32 table_maximum_size;
/** @struct_table_address: 64-bit physical starting address */
u64 struct_table_address;
};