Hello community, here is the log from the commit of package iprutils for openSUSE:Factory checked in at 2014-03-15 17:35:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iprutils (Old) and /work/SRC/openSUSE:Factory/.iprutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iprutils" Changes: -------- --- /work/SRC/openSUSE:Factory/iprutils/iprutils.changes 2014-02-19 18:55:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.iprutils.new/iprutils.changes 2014-03-15 17:35:50.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Mar 12 11:47:10 UTC 2014 - [email protected] + +- new patch: iprutils.firmware_level.patch + fix for firmware level showed as "FFFFFFF" (BNC#867744) + +------------------------------------------------------------------- New: ---- iprutils.firmware_level.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iprutils.spec ++++++ --- /var/tmp/diff_new_pack.xMeMEm/_old 2014-03-15 17:35:51.000000000 +0100 +++ /var/tmp/diff_new_pack.xMeMEm/_new 2014-03-15 17:35:51.000000000 +0100 @@ -30,6 +30,7 @@ Patch1: iprutils.install-man.patch Patch2: iprutils.runlevel.patch Patch4: iprutils-close.diff +Patch5: iprutils.firmware_level.patch BuildRequires: ncurses-devel BuildRequires: pciutils-devel BuildRequires: pkg-config @@ -50,6 +51,7 @@ %patch1 -p1 %patch2 -p1 %patch4 -p1 +%patch5 -p2 %build make %{?_smp_mflags} CFLAGS="%{optflags} -I/usr/include/ncurses \$(IPR_DEFINES)" CC="gcc" ++++++ iprutils-close.diff ++++++ --- /var/tmp/diff_new_pack.xMeMEm/_old 2014-03-15 17:35:51.000000000 +0100 +++ /var/tmp/diff_new_pack.xMeMEm/_new 2014-03-15 17:35:51.000000000 +0100 @@ -2,7 +2,7 @@ =================================================================== --- iprutils.orig/iprlib.c +++ iprutils/iprlib.c -@@ -8340,15 +8340,16 @@ int ipr_update_ioa_fw(struct ipr_ioa *io +@@ -8405,15 +8405,16 @@ int ipr_update_ioa_fw(struct ipr_ioa *io } dir = opendir(hotplug_dir); ++++++ iprutils.firmware_level.patch ++++++ --- iprutils/iprlib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: b/iprutils/iprlib.c =================================================================== --- a/iprutils/iprlib.c 2014-03-10 15:54:33.000000000 -0500 +++ b/iprutils/iprlib.c 2014-03-10 19:19:23.237766113 -0500 @@ -812,7 +812,7 @@ int get_max_bus_speed(struct ipr_ioa *io char value[16]; ssize_t len; - sprintf(devpath, "/sys/class/scsi_host/host%s", ioa->host_name); + sprintf(devpath, "/sys/class/scsi_host/%s", ioa->host_name); len = sysfs_read_attr(devpath, "fw_version", value, 16); if (len < 0) return -1; @@ -1287,7 +1287,7 @@ static int ipr_uevents_supported() if (!ioa) return 0; - sprintf(devpath, "/sys/class/scsi_host/host%s", ioa->host_name); + sprintf(devpath, "/sys/class/scsi_host/%s", ioa->host_name); len = sysfs_read_attr(devpath, "uevent", value, 16); return len > 0; } @@ -7931,7 +7931,7 @@ u32 get_ioa_fw_version(struct ipr_ioa *i ssize_t len; u32 fw_version; - sprintf(devpath, "/sys/class/scsi_host/host%s", ioa->host_name); + sprintf(devpath, "/sys/class/scsi_host/%s", ioa->host_name); len = sysfs_read_attr(devpath, "fw_version", value, 16); if (len < 0) return -1; @@ -9346,7 +9346,7 @@ void ipr_set_manage_start_stop(struct ip char value_str[2]; int value; - sprintf(path, "/sys/class/scsi_disk/%s/device", + sprintf(path, "/sys/class/scsi_disk/%s", dev->scsi_dev_data->sysfs_device_name); len = sysfs_read_attr(path, "manage_start_stop", value_str, 2); if (len < 0) { -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
