15
0

- Update to version 3.12.2+git.1666757106.e6ab5bc:

* fix address_from_efi ret=0 message
  * fix function dmi_slot_segment_bus_func null point error in system slot
  * fix warning: this 'if' clause does not guard
  * fix warning: variable 'str_n' set but not used
  * fix warning: passing argument 2 of 'dmi_tpm_vendor_id' makes pointer from integer without a cast
  * fix warning: unused variable 'attr'
  * fix warning: unused variable 'addrstr'
  * fix warning: suggest parentheses around assignment used as truth value
  * fix warning: suggest parentheses around assignment used as truth value
  * src/dmidecode.c: In function 'dmi_tpm_characteristics': src/dmidecode.c:4788:24: warning: 'return' with a value, in function returning void [-Wreturn-type] 4788 | return data_n; | ^~~~~~
  * fix warning: passing argument 3 of 'dmi_slot_peers' from incompatible pointer type
  * fix warning: unused variable 'ver'
  * fix warning: variable 'eptype' set but not used
  * fix warning: suggest parentheses around '&&' within '||'
  * fix warning: comparison of integer expressions of different signedness
  * fix warning: ignoring return value of 'legacy_decode'
  * fix warning argument 1 null where non-null expected
  * Update python-dmidecode to smbios 3.3.0
  * Fix for printing an empty dictionary
  * Fix the failure of opening "/dev/mem": Permission denied
  * Fix bugs: 1. Fix smbios3_decode decoding sysfs table dump error. 2. Fix check smbios version error warning message.
  * Fix reading info permission deny bugs.
- Remove duplicated Makefile_libdir.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=20
This commit is contained in:
2022-10-26 09:20:33 +00:00
committed by Git OBS Bridge
parent 1b62766a19
commit fbef7af84d
8 changed files with 61 additions and 69 deletions

View File

@@ -4,7 +4,7 @@
--- a/src/dmidecode.c
+++ b/src/dmidecode.c
@@ -4533,7 +4533,7 @@ xmlNode *dmi_decode(xmlNode *prnt_n, dmi
@@ -5378,7 +5378,7 @@ xmlNode *dmi_decode(xmlNode *prnt_n, dmi
dmi_memory_device_width(sect_n, "TotalWidth", WORD(data + 0x08));
dmi_memory_device_width(sect_n, "DataWidth", WORD(data + 0x0A));
if (h->length >= 0x20 && WORD(data + 0x0C) == 0x7FFF) {