Masahisa Kojima b92d0f78dc smbios: use struct_table_length to get SMBIOS 2.1 total table length
The current code convert the SMBIOS 2.1 entry point structure to
SMBIOS 3.0 entry point structure. The max_struct_size member in
SMBIOS 2.1 entry point structure indicates
"Size of the largest SMBIOS structure, in bytes".
We need to use struct_table_length instead.

Fixes: 1c5aab803c0b ("smbios: copy QEMU tables")
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2024-01-26 14:16:46 +01:00
..
2023-11-20 09:19:50 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-05-02 14:23:58 -04:00
2023-10-11 10:35:24 -04:00
2024-01-18 12:18:48 -05:00
2023-12-13 11:35:16 -05:00
2024-01-15 08:58:24 +01:00
2023-11-07 14:50:51 -05:00
2024-01-17 09:03:43 +01:00
2023-11-20 09:19:50 -05:00
2024-01-03 09:22:47 -05:00
2024-01-16 12:26:54 +00:00
2023-11-20 09:19:50 -05:00
2023-11-20 09:19:50 -05:00
2023-12-18 09:55:32 -05:00