|
|
78a694 |
From 6b05d76b36b5f385dca3bdf67d7d12b5c122d1e1 Mon Sep 17 00:00:00 2001
|
|
|
78a694 |
From: Lianbo Jiang <lijiang@redhat.com>
|
|
|
78a694 |
Date: Thu, 10 Dec 2020 11:21:21 +0100
|
|
|
78a694 |
Subject: [PATCH 3/3] Missing comma in the dmi_slot_type()
|
|
|
78a694 |
|
|
|
78a694 |
In the initialization of "type", a suspicious concatenated string
|
|
|
78a694 |
"PCI Express Mini 76-pinPCI Express 4 SFF-8639 (U.2)" is produced
|
|
|
78a694 |
due to a missing comma between lines.
|
|
|
78a694 |
|
|
|
78a694 |
[JD: Fixed a similar bug in dmi_processor_characteristics.]
|
|
|
78a694 |
|
|
|
78a694 |
Fixes: c54348130a2a ("dmidecode: Add new system slot types from SMBIOS spec 3.4.0")
|
|
|
78a694 |
Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
|
|
|
78a694 |
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
|
78a694 |
---
|
|
|
78a694 |
dmidecode.c | 2 +-
|
|
|
78a694 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
78a694 |
|
|
|
78a694 |
diff --git a/dmidecode.c b/dmidecode.c
|
|
|
78a694 |
index eca7d15863b2..a693ab2c6562 100644
|
|
|
78a694 |
--- a/dmidecode.c
|
|
|
78a694 |
+++ b/dmidecode.c
|
|
|
78a694 |
@@ -1820,7 +1820,7 @@ static const char *dmi_slot_type(u8 code)
|
|
|
78a694 |
"PCI Express 3 SFF-8639 (U.2)",
|
|
|
78a694 |
"PCI Express Mini 52-pin with bottom-side keep-outs",
|
|
|
78a694 |
"PCI Express Mini 52-pin without bottom-side keep-outs",
|
|
|
78a694 |
- "PCI Express Mini 76-pin"
|
|
|
78a694 |
+ "PCI Express Mini 76-pin",
|
|
|
78a694 |
"PCI Express 4 SFF-8639 (U.2)",
|
|
|
78a694 |
"PCI Express 5 SFF-8639 (U.2)",
|
|
|
78a694 |
"OCP NIC 3.0 Small Form Factor (SFF)",
|
|
|
78a694 |
--
|
|
|
78a694 |
2.17.1
|
|
|
78a694 |
|