[PATCH] dmi: dmicheck: add type 9 to dmi_used_by_kernel_table

Alex Hung alex.hung at canonical.com
Fri May 5 00:17:34 UTC 2017


Type 9 is added to dmi_decode() since kernel 4.5, and fwts is
upated accordingly.

Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 src/dmi/dmicheck/dmicheck.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index 25fc678..1fe6cf0 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -285,6 +285,8 @@ static fwts_dmi_used_by_kernel dmi_used_by_kernel_table[] = {
 	{ 3, 6 },
 	{ 3, 7 },
 	{ 3, 8 },
+	/* Type 9, System Slots */
+	{ 9, FIELD_ANY },
 	/* Type 10, Onboard Devices Information */
 	{ 10, FIELD_ANY },
 	/* Type 11, OEM Strings */
-- 
2.7.4




More information about the fwts-devel mailing list