diff mbox series

dmicheck: add Processor Architecture Types check for type 44

Message ID 20220621040706.9712-1-ivan.hu@canonical.com
State Accepted
Headers show
Series dmicheck: add Processor Architecture Types check for type 44 | expand

Commit Message

ivanhu June 21, 2022, 4:07 a.m. UTC
Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 src/dmi/dmicheck/dmicheck.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index e2d54490..7fb36403 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -1978,6 +1978,8 @@  static void dmicheck_entry(fwts_framework *fw,
 			table = "Processor Additional Information (Type 44)";
 			if (hdr->length < 0x6)
 				break;
+
+			dmi_min_max_uint8_check(fw, table, addr, "IProcessor Architecture Types", hdr, 0x7, 0x0, 0x8);
 			break;
 
 		case 126: /* 7.46 */