From 3e59fe8e36c53aec27a504e2e200a4438de11d0a Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 12 2020 06:14:31 +0000 Subject: Apply patch 0005-dmidecode-Add-Logical-non-volatile-device-to-the-mem.patch patch_name: 0005-dmidecode-Add-Logical-non-volatile-device-to-the-mem.patch present_in_specfile: true --- diff --git a/dmidecode.c b/dmidecode.c index 903ef35..91c6f62 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -2471,10 +2471,11 @@ static const char *dmi_memory_device_type(u8 code) "LPDDR", "LPDDR2", "LPDDR3", - "LPDDR4" /* 0x1E */ + "LPDDR4", + "Logical non-volatile device" /* 0x1F */ }; - if (code >= 0x01 && code <= 0x1E) + if (code >= 0x01 && code <= 0x1F) return type[code - 0x01]; return out_of_spec; }