Hello community,

here is the log from the commit of package hwinfo for openSUSE:Factory checked 
in at 2016-04-28 20:29:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hwinfo (Old)
 and      /work/SRC/openSUSE:Factory/.hwinfo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hwinfo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hwinfo/hwinfo.changes    2015-10-14 
16:35:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hwinfo.new/hwinfo.changes       2016-04-28 
20:29:10.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Apr 12 18:21:49 UTC 2016 - [email protected]
+
+- adjust dmi parser to read memory size according to latest smbios spec 
(bsc#974737)
+- adjust dmi parser to read memory size according to latest smbios spec 
(bsc#974737)
+- 21.24
+
+-------------------------------------------------------------------

Old:
----
  hwinfo-21.23.tar.xz

New:
----
  hwinfo-21.24.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hwinfo.spec ++++++
--- /var/tmp/diff_new_pack.SZcha9/_old  2016-04-28 20:29:11.000000000 +0200
+++ /var/tmp/diff_new_pack.SZcha9/_new  2016-04-28 20:29:11.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hwinfo
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,7 +36,7 @@
 Group:          Hardware/Other
 # Until migration to github this should be correct url
 Url:            http://gitorious.org/opensuse/hwinfo
-Version:        21.23
+Version:        21.24
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ hwinfo-21.23.tar.xz -> hwinfo-21.24.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.23/VERSION new/hwinfo-21.24/VERSION
--- old/hwinfo-21.23/VERSION    2015-10-09 14:41:05.000000000 +0200
+++ new/hwinfo-21.24/VERSION    2016-04-12 13:57:25.000000000 +0200
@@ -1 +1 @@
-21.23
+21.24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.23/changelog new/hwinfo-21.24/changelog
--- old/hwinfo-21.23/changelog  2015-10-09 14:41:05.000000000 +0200
+++ new/hwinfo-21.24/changelog  2016-04-12 13:57:25.000000000 +0200
@@ -1,3 +1,7 @@
+2016-04-12:    21.24
+       - adjust dmi parser to read memory size according to latest smbios spec 
(bsc #974737)
+       - adjust dmi parser to read memory size according to latest smbios spec 
(bsc #974737)
+
 2015-10-09:    21.23
        - scsi serial id: read vpd page 0x80 from sysfs, if possible (bsc 
#949287)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hwinfo-21.23/src/hd/smbios.c 
new/hwinfo-21.24/src/hd/smbios.c
--- old/hwinfo-21.23/src/hd/smbios.c    2015-10-09 14:41:05.000000000 +0200
+++ new/hwinfo-21.24/src/hd/smbios.c    2016-04-12 13:57:25.000000000 +0200
@@ -472,7 +472,7 @@
   NULL, "Other", "Unknown", "SIMM",
   "SIP", "Chip", "DIP", "ZIP",
   "Proprietary Card", "DIMM", "TSOP", "Row of Chips",
-  "RIMM", "SODIMM", "SRIMM"
+  "RIMM", "SODIMM", "SRIMM", "FB-DIMM"
 };
 SMBIOS_DEF_MAP(smbios_memdevice_form);
 
@@ -993,6 +993,9 @@
           sm->memdevice.asset = get_string(sl_any, sm_data[0x19]);
           sm->memdevice.part = get_string(sl_any, sm_data[0x1a]);
         }
+        if(data_len >= 0x20 && sm->memdevice.size == (0x7fff << 10)) {
+          sm->memdevice.size = (READ_MEM32(sm_data + 0x1c) & 0x7fffffff) << 10;
+        }
         break;
 
       case sm_memerror:


Reply via email to