Hello community, here is the log from the commit of package hwinfo for openSUSE:Factory checked in at 2016-06-03 16:35:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2016-04-28 20:29:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hwinfo.new/hwinfo.changes 2016-06-03 16:35:50.000000000 +0200 @@ -1,0 +2,14 @@ +Mon May 30 12:05:50 UTC 2016 - snwint@suse.com + +- change wording for SCSI reference +- add reference to SCSI command specification +- change type of serial_buf[] to unsigned char (bsc#980819) +- 21.26 + +------------------------------------------------------------------- +Mon May 30 10:00:21 UTC 2016 - snwint@suse.com + +- Correct comma placement after part-number +- 21.25 + +------------------------------------------------------------------- Old: ---- hwinfo-21.24.tar.xz New: ---- hwinfo-21.26.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hwinfo.spec ++++++ --- /var/tmp/diff_new_pack.bCRwPg/_old 2016-06-03 16:35:51.000000000 +0200 +++ /var/tmp/diff_new_pack.bCRwPg/_new 2016-06-03 16:35:51.000000000 +0200 @@ -36,7 +36,7 @@ Group: Hardware/Other # Until migration to github this should be correct url Url: http://gitorious.org/opensuse/hwinfo -Version: 21.24 +Version: 21.26 Release: 0 Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ hwinfo-21.24.tar.xz -> hwinfo-21.26.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.24/VERSION new/hwinfo-21.26/VERSION --- old/hwinfo-21.24/VERSION 2016-04-12 13:57:25.000000000 +0200 +++ new/hwinfo-21.26/VERSION 2016-05-30 13:56:19.000000000 +0200 @@ -1 +1 @@ -21.24 +21.26 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.24/changelog new/hwinfo-21.26/changelog --- old/hwinfo-21.24/changelog 2016-04-12 13:57:25.000000000 +0200 +++ new/hwinfo-21.26/changelog 2016-05-30 13:56:19.000000000 +0200 @@ -1,3 +1,11 @@ +2016-05-30: 21.26 + - change wording for SCSI reference + - add reference to SCSI command specification + - change type of serial_buf[] to unsigned char (bsc #980819) + +2016-05-27: 21.25 + - Correct comma placement after part-number + 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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.24/src/hd/block.c new/hwinfo-21.26/src/hd/block.c --- old/hwinfo-21.24/src/hd/block.c 2016-04-12 13:57:25.000000000 +0200 +++ new/hwinfo-21.26/src/hd/block.c 2016-05-30 13:56:19.000000000 +0200 @@ -708,6 +708,15 @@ /* * assumes hd->drivers aleady includes scsi device drivers (like 'sd') + * + * The following code uses ioctl() calls to issue some SCSI commands + * directly (namely the INQUIRY command). + * + * For reference, and to understand the layout of the ioctl() calls below, + * google for a document named 'SCSI Primary Commands 5 (SPC-5)' (or more + * recent versions - it doesn't matter for our purpose). + * + * The latest draft is usually freely available but not directly downloadable. */ void add_scsi_sysfs_info(hd_data_t *hd_data, hd_t *hd, char *sf_dev) { @@ -992,7 +1001,7 @@ str_printf(&pr_str, 0, "%s serial", hd->unix_dev_name); PROGRESS(5, 2, pr_str); - char *serial_buf = NULL; + unsigned char *serial_buf = NULL; unsigned serial_buf_len = 0; memset(scsi_cmd_buf, 0, sizeof scsi_cmd_buf); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hwinfo-21.24/src/hd/prom.c new/hwinfo-21.26/src/hd/prom.c --- old/hwinfo-21.24/src/hd/prom.c 2016-04-12 13:57:25.000000000 +0200 +++ new/hwinfo-21.26/src/hd/prom.c 2016-05-30 13:56:19.000000000 +0200 @@ -570,7 +570,7 @@ if (strstr(devtree->path, "vpd") == devtree->path) ADD2LOG( - " ccin \"%s\", fru-number \"%s\", location-code \"%s\", serial-number \"%s\", part-number \"%s,\"\n" + " ccin \"%s\", fru-number \"%s\", location-code \"%s\", serial-number \"%s\", part-number \"%s\",\n" " description \"%s\"\n", devtree->ccin ? devtree->ccin : "", devtree->fru_number ? devtree->fru_number : "",