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