]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: smbios: show correct table size for SMBIOS2.1 entry point
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 31 Jan 2024 22:34:46 +0000 (23:34 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Feb 2024 18:57:45 +0000 (19:57 +0100)
commit551bc96be51c183ee90770bec985990bc6bcc4ad
treef2d5105e595a43993a16e428b81c7e41c66cbb4a
parent5778c88eb094079502acad632febde7ff0d5b146
cmd: smbios: show correct table size for SMBIOS2.1 entry point

The SMBIOS table size for SMBIOS2.1 entry points is in field 'Structure
Table Length' (offset 0x16) and not in field 'Maximum Structure Size'
(offset 0x08).

Rename the receiving variable max_struct_size to table_maximum_size
to avoid future confusion.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/smbios.c