Blame SOURCES/0003-dmidecode-Missing-comma-in-the-dmi_slot_type.patch

d384d2
From ac6a64496fc99a5cc05ebe4dd7d1b88f60041009 Mon Sep 17 00:00:00 2001
d384d2
From: Lianbo Jiang <lijiang@redhat.com>
d384d2
Date: Thu, 10 Dec 2020 11:21:21 +0100
d384d2
Subject: [PATCH] Missing comma in the dmi_slot_type()
d384d2
d384d2
In the initialization of "type", a suspicious concatenated string
d384d2
"PCI Express Mini 76-pinPCI Express 4 SFF-8639 (U.2)" is produced
d384d2
due to a missing comma between lines.
d384d2
d384d2
[JD: Fixed a similar bug in dmi_processor_characteristics.]
d384d2
d384d2
Fixes: b289de9deb32 ("Add new processor characteristics bits from SMBIOS spec 3.4.0")
d384d2
Fixes: c54348130a2a ("dmidecode: Add new system slot types from SMBIOS spec 3.4.0")
d384d2
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
d384d2
Signed-off-by: Jean Delvare <jdelvare@suse.de>
d384d2
Signed-off-by: Coiby Xu <coxu@redhat.com>
d384d2
---
d384d2
 dmidecode.c | 4 ++--
d384d2
 1 file changed, 2 insertions(+), 2 deletions(-)
d384d2
d384d2
diff --git a/dmidecode.c b/dmidecode.c
d384d2
index ac96395..4c98553 100644
d384d2
--- a/dmidecode.c
d384d2
+++ b/dmidecode.c
d384d2
@@ -1389,7 +1389,7 @@ static void dmi_processor_characteristics(const char *attr, u16 code)
d384d2
 		"Execute Protection",
d384d2
 		"Enhanced Virtualization",
d384d2
 		"Power/Performance Control",
d384d2
-		"128-bit Capable"
d384d2
+		"128-bit Capable",
d384d2
 		"Arm64 SoC ID" /* 9 */
d384d2
 	};
d384d2
 
d384d2
@@ -1939,7 +1939,7 @@ static const char *dmi_slot_type(u8 code)
d384d2
 		"PCI Express 3 SFF-8639 (U.2)",
d384d2
 		"PCI Express Mini 52-pin with bottom-side keep-outs",
d384d2
 		"PCI Express Mini 52-pin without bottom-side keep-outs",
d384d2
-		"PCI Express Mini 76-pin"
d384d2
+		"PCI Express Mini 76-pin",
d384d2
 		"PCI Express 4 SFF-8639 (U.2)",
d384d2
 		"PCI Express 5 SFF-8639 (U.2)",
d384d2
 		"OCP NIC 3.0 Small Form Factor (SFF)",
d384d2
-- 
d384d2
2.31.1
d384d2