summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2024-01-31 23:49:34 +0100
committerHeinrich Schuchardt <[email protected]>2024-02-02 19:57:45 +0100
commit406c410ef747d66e16f2f5494cbf88ba1307224f (patch)
treed1d299e98db982d1379cb1d2a009e1c437dbb454 /drivers/misc
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 <[email protected]>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/qfw_smbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/qfw_smbios.c b/drivers/misc/qfw_smbios.c
index a898cb4eea4..c3e8c310d00 100644
--- a/drivers/misc/qfw_smbios.c
+++ b/drivers/misc/qfw_smbios.c
@@ -90,7 +90,7 @@ static int qfw_parse_smbios_anchor(struct udevice *dev,
entry->length = sizeof(struct smbios3_entry);
entry->major_ver = entry2->major_ver;
entry->minor_ver = entry2->minor_ver;
- entry->max_struct_size = entry2->struct_table_length;
+ entry->table_maximum_size = entry2->struct_table_length;
} else {
ret = -ENOENT;
goto out;