Message ID | 20230309090018.32029-1-ivan.hu@canonical.com |
---|---|
State | Accepted |
Headers | show |
Series | [01/10] dmicheck: fix the extended bios ROM size bit check of type 0 | expand |
diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c index 497a5c5f..22b7a6ec 100644 --- a/src/dmi/dmicheck/dmicheck.c +++ b/src/dmi/dmicheck/dmicheck.c @@ -1297,7 +1297,7 @@ static void dmicheck_entry(fwts_framework *fw, /* new fields in spec 3.11 */ if (hdr->length < 0x1a) break; - dmi_reserved_bits_check(fw, table, addr, "Extended BIOS ROM Size", hdr, sizeof(uint16_t), 0x18, 14, 15); + dmi_reserved_bits_check(fw, table, addr, "Extended BIOS ROM Size", hdr, sizeof(uint16_t), 0x18, 15, 15); break; case 1: /* 7.2 */
From the SMBIOS specification, 7.1 the Extended Bios ROM Size Bits 14:15, only 10b and 11b are reserved Signed-off-by: Ivan Hu <ivan.hu@canonical.com> --- src/dmi/dmicheck/dmicheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)