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

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