[PATCH 08/10] dmicheck: update the device type field for type 41

Ivan Hu ivan.hu at canonical.com
Thu Mar 9 09:00:16 UTC 2023


Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 src/dmi/dmicheck/dmicheck.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index be934ad4..36b758fe 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -1971,7 +1971,7 @@ static void dmicheck_entry(fwts_framework *fw,
 			if (hdr->length < 0xb)
 				break;
 			dmi_str_check(fw, table, addr, "Reference Designation", hdr, 0x4);
-			dmi_min_max_mask_uint8_check(fw, table, addr, "Device Type", hdr, 0x5, 0x1, 0xa, 0, 0x7f);
+			dmi_min_max_mask_uint8_check(fw, table, addr, "Device Type", hdr, 0x5, 0x1, 0x10, 0, 0x7f);
 			break;
 
 		case 42: /* 7.43 */
-- 
2.34.1




More information about the fwts-devel mailing list