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

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