diff mbox series

dmicheck: extent the dmi_patterns for the default serial number string

Message ID 20230331055702.252232-1-ivan.hu@canonical.com
State Accepted
Headers show
Series dmicheck: extent the dmi_patterns for the default serial number string | expand

Commit Message

ivanhu March 31, 2023, 5:57 a.m. UTC
BugLink: https://bugs.launchpad.net/fwts/+bug/2013208

"Unspecified System Serial Number" should be checked as well.

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

Patch

diff --git a/src/dmi/dmicheck/dmicheck.c b/src/dmi/dmicheck/dmicheck.c
index ebfc0c94..a6f19932 100644
--- a/src/dmi/dmicheck/dmicheck.c
+++ b/src/dmi/dmicheck/dmicheck.c
@@ -154,6 +154,7 @@  static const fwts_dmi_pattern dmi_patterns[] = {
 	{ "DMISerialNumber",	"Serial Number",	"To Be Filled By O.E.M." },
 	{ "DMISerialNumber",	"Serial Number",	"Unknow" },
 	{ "DMISerialNumber",	"Serial Number",	"Unknown" },
+	{ "DMISerialNumber",	"Serial Number",	"Unspecified System Serial Number" },	
 	{ "DMISerialNumber",	"Serial Number",	"XXXXXXXXXXXX" },
 	{ "DMISerialNumber",	"Serial Number",	"XXXXXXXXXXX" },
 	{ "DMISerialNumber",	"Serial Number",	"XXXXXXXXXX" },