diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2024-01-25 10:11:28 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-01-26 14:16:46 +0100 |
commit | b92d0f78dc04f6f7dd8b67cb9ea1bc1dc3b51aa6 (patch) | |
tree | f88abf42bf0eca52a8715f87777e161ee829435e /board/renesas/gose/qos.c | |
parent | 2497f6a84c0b906551d08054a631b86942cb4fa9 (diff) |
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>
Diffstat (limited to 'board/renesas/gose/qos.c')
0 files changed, 0 insertions, 0 deletions