[PATCH] dmicheck: Fix mistake in previous update to 3.7

Mario Limonciello mario.limonciello at amd.com
Thu Feb 29 01:05:09 UTC 2024


For type 17 version 3.7 the length is still 0x5c.  It shouldn't
have been updated to 0x64.

Fixes: dfc5729b ("dmicheck: update supported DMI version to 3.7")
Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
---
 src/dmi/dmicheck/dmicheck.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index b7cca5e4..904c0356 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -299,8 +299,7 @@ static const fwts_dmi_type_length type_info[] = {
 	{ 17, 0x208, 0x207, 0x22 },
 	{ 17, 0x302, 0x208, 0x28 },
 	{ 17, 0x303, 0x302, 0x54 },
-	{ 17, 0x307, 0x303, 0x5c },
-	{ 17, MAX_VERSION, 0x307, 0x64 },
+	{ 17, MAX_VERSION, 0x303, 0x5c },
 	{ 19, 0x207, 0x201, 0xf },
 	{ 19, MAX_VERSION, 0x207, 0x1f },
 	{ 20, 0x207, 0x201, 0x13 },
-- 
2.34.1




More information about the fwts-devel mailing list