summaryrefslogtreecommitdiff
path: root/doc/develop/driver-model
diff options
context:
space:
mode:
authorMasahisa Kojima <[email protected]>2024-01-25 10:11:28 +0900
committerHeinrich Schuchardt <[email protected]>2024-01-26 14:16:46 +0100
commitb92d0f78dc04f6f7dd8b67cb9ea1bc1dc3b51aa6 (patch)
treef88abf42bf0eca52a8715f87777e161ee829435e /doc/develop/driver-model
parent2497f6a84c0b906551d08054a631b86942cb4fa9 (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 <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'doc/develop/driver-model')
0 files changed, 0 insertions, 0 deletions