|
Anton Arapov |
95bebc |
From 23aa50565a65c98fc452ed8ffdffb49b6504941d Mon Sep 17 00:00:00 2001
|
|
Anton Arapov |
95bebc |
From: Petr Oros <poros@redhat.com>
|
|
Anton Arapov |
95bebc |
Date: Thu, 30 Jun 2016 11:50:30 +0200
|
|
Anton Arapov |
95bebc |
Subject: [PATCH 12/12] dmidecode: Unmask LRDIMM in memory type detail
|
|
Anton Arapov |
95bebc |
|
|
Anton Arapov |
95bebc |
For memory with bit 15 only set, dmidecode would show "None" in type
|
|
Anton Arapov |
95bebc |
detail.
|
|
Anton Arapov |
95bebc |
|
|
Anton Arapov |
95bebc |
Fixes: 0740adaea98a ("Bump release verison to 2.12")
|
|
Anton Arapov |
95bebc |
Signed-off-by: Petr Oros <poros@redhat.com>
|
|
Anton Arapov |
95bebc |
Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
|
Anton Arapov |
95bebc |
---
|
|
Anton Arapov |
95bebc |
AUTHORS | 1 +
|
|
Anton Arapov |
95bebc |
CHANGELOG | 4 ++++
|
|
Anton Arapov |
95bebc |
dmidecode.c | 2 +-
|
|
Anton Arapov |
95bebc |
3 files changed, 6 insertions(+), 1 deletion(-)
|
|
Anton Arapov |
95bebc |
|
|
Anton Arapov |
95bebc |
diff --git a/AUTHORS b/AUTHORS
|
|
Anton Arapov |
95bebc |
index ccf7fbb..748b985 100644
|
|
Anton Arapov |
95bebc |
--- a/AUTHORS
|
|
Anton Arapov |
95bebc |
+++ b/AUTHORS
|
|
Anton Arapov |
95bebc |
@@ -20,6 +20,7 @@ Anton Arapov <anton@redhat.com>
|
|
Anton Arapov |
95bebc |
Roy Franz <roy.franz@linaro.org>
|
|
Anton Arapov |
95bebc |
Tyler Bell <tyler.bell@hp.com>
|
|
Anton Arapov |
95bebc |
Xie XiuQi <xiexiuqi@huawei.com>
|
|
Anton Arapov |
95bebc |
+Petr Oros <poros@redhat.com>
|
|
Anton Arapov |
95bebc |
|
|
Anton Arapov |
95bebc |
MANY THANKS TO (IN CHRONOLOGICAL ORDER)
|
|
Anton Arapov |
95bebc |
Werner Heuser
|
|
Anton Arapov |
95bebc |
diff --git a/CHANGELOG b/CHANGELOG
|
|
Anton Arapov |
95bebc |
index ba61cab..ebae4b3 100644
|
|
Anton Arapov |
95bebc |
--- a/CHANGELOG
|
|
Anton Arapov |
95bebc |
+++ b/CHANGELOG
|
|
Anton Arapov |
95bebc |
@@ -1,3 +1,7 @@
|
|
Anton Arapov |
95bebc |
+2016-06-30 Petr Oros <poros@redhat.com>
|
|
Anton Arapov |
95bebc |
+
|
|
Anton Arapov |
95bebc |
+ * dmidecode.c: Unmask LRDIMM in memory type detail (DMI type 17).
|
|
Anton Arapov |
95bebc |
+
|
|
Anton Arapov |
95bebc |
2015-11-02 Jean Delvare <jdelvare@suse.de>
|
|
Anton Arapov |
95bebc |
|
|
Anton Arapov |
95bebc |
* dmidecode.c, util.c, util.h: Let read_file return the actual data
|
|
Anton Arapov |
95bebc |
diff --git a/dmidecode.c b/dmidecode.c
|
|
Anton Arapov |
95bebc |
index 84c18e1..48d9e66 100644
|
|
Anton Arapov |
95bebc |
--- a/dmidecode.c
|
|
Anton Arapov |
95bebc |
+++ b/dmidecode.c
|
|
Anton Arapov |
95bebc |
@@ -2392,7 +2392,7 @@ static void dmi_memory_device_type_detail(u16 code)
|
|
Anton Arapov |
95bebc |
"LRDIMM" /* 15 */
|
|
Anton Arapov |
95bebc |
};
|
|
Anton Arapov |
95bebc |
|
|
Anton Arapov |
95bebc |
- if ((code & 0x7FFE) == 0)
|
|
Anton Arapov |
95bebc |
+ if ((code & 0xFFFE) == 0)
|
|
Anton Arapov |
95bebc |
printf(" None");
|
|
Anton Arapov |
95bebc |
else
|
|
Anton Arapov |
95bebc |
{
|
|
Anton Arapov |
95bebc |
--
|
|
Anton Arapov |
95bebc |
2.7.4
|
|
Anton Arapov |
95bebc |
|