Hello community, here is the log from the commit of package iprutils for openSUSE:Factory checked in at 2014-03-27 06:08:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-03-15 17:35:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.iprutils.new/iprutils.changes 2014-03-27 06:08:49.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Mar 13 09:08:56 UTC 2014 - [email protected] + +- new patch: iprutils.failing_raid-create.patch + fix for raid-create when creating raid for dual adapter mode + (BNC#868032) + +------------------------------------------------------------------- New: ---- iprutils.failing_raid-create.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iprutils.spec ++++++ --- /var/tmp/diff_new_pack.T4JuoK/_old 2014-03-27 06:08:50.000000000 +0100 +++ /var/tmp/diff_new_pack.T4JuoK/_new 2014-03-27 06:08:50.000000000 +0100 @@ -31,6 +31,7 @@ Patch2: iprutils.runlevel.patch Patch4: iprutils-close.diff Patch5: iprutils.firmware_level.patch +Patch6: iprutils.failing_raid-create.patch BuildRequires: ncurses-devel BuildRequires: pciutils-devel BuildRequires: pkg-config @@ -52,6 +53,7 @@ %patch2 -p1 %patch4 -p1 %patch5 -p2 +%patch6 -p1 %build make %{?_smp_mflags} CFLAGS="%{optflags} -I/usr/include/ncurses \$(IPR_DEFINES)" CC="gcc" ++++++ iprutils.failing_raid-create.patch ++++++ >From e5c5da2996db355912ce0f57723e980852c85244 Mon Sep 17 00:00:00 2001 From: Daniel Kreling <[email protected]> Date: Thu, 6 Mar 2014 17:12:06 -0300 Subject: [PATCH] iprutils: fix "create test array" for dual adapter tests When creating array to perform dual adapter tests, iprlib.c had a flawed ipr_update_qac_with_zeroed_devs function, which was not initializing dev_rcd variable. This commit initializes it and fixes the crash. Signed off by: Daniel Kreling <[email protected]> --- iprlib.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/iprlib.c b/iprlib.c index b9e124e..b7f4fed 100644 --- a/iprlib.c +++ b/iprlib.c @@ -701,8 +701,10 @@ void ipr_update_qac_with_zeroed_devs(struct ipr_ioa *ioa) mode_pages.hdr.block_desc_len + sizeof(mode_pages.hdr)); - if (page->format_completed) + if (page->format_completed) { + dev_rcd = (struct ipr_dev_record *)ioa->dev[i].qac_entry; dev_rcd->known_zeroed = 1; + } } else if (zdev && ioa->dev[i].qac_entry) { dev_rcd = (struct ipr_dev_record *)ioa->dev[i].qac_entry; -- 1.7.1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
