Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ab02b11

Browse files
Xie XiuQijdelvare
Xie XiuQi
authored andcommitted
Use DWORD for Structure table maximum size in SMBIOS3
0Ch DWORD "Structure table maximum size" Maximum size of SMBIOS Structure Table, pointed to by the Structure Table Address, in bytes. The actual size is guaranteed to be less or equal to the maximum size. Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by: Jean Delvare <jdelvare@suse.de>
1 parent e5c7323 commit ab02b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎dmidecode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4615,7 +4615,7 @@ static int smbios3_decode(u8 *buf, const char *devmem, u32 flags)
46154615
}
46164616

46174617
dmi_table(((off_t)offset.h << 32) | offset.l,
4618-
WORD(buf + 0x0C), 0, ver, devmem, flags | FLAG_STOP_AT_EOT);
4618+
DWORD(buf + 0x0C), 0, ver, devmem, flags | FLAG_STOP_AT_EOT);
46194619

46204620
if (opt.flags & FLAG_DUMP_BIN)
46214621
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /