commit irqd for openSUSE:Factory

2015-03-18 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2015-03-18 13:08:15

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2014-08-13 
08:48:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2015-03-18 
13:08:16.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar 17 14:51:53 UTC 2015 - jeng...@inai.de
+
+- Avoid running irqd in environments where interrupts are
+  inherited (rather than virtualized, or real).
+
+---



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.UFm1xO/_old  2015-03-18 13:08:17.0 +0100
+++ /var/tmp/diff_new_pack.UFm1xO/_new  2015-03-18 13:08:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqd
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ irqd.service ++
--- /var/tmp/diff_new_pack.UFm1xO/_old  2015-03-18 13:08:17.0 +0100
+++ /var/tmp/diff_new_pack.UFm1xO/_new  2015-03-18 13:08:17.0 +0100
@@ -1,6 +1,7 @@
 [Unit]
 Description=RPS-aware IRQ balancing daemon
 Conflicts=irq_balancer.service
+ConditionVirtualization=!container
 
 [Service]
 Type=forking

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2014-08-13 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2014-08-13 08:48:44

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2014-08-06 
11:42:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2014-08-13 
08:48:49.0 +0200
@@ -1,0 +2,5 @@
+Sun Aug 10 15:47:20 UTC 2014 - jeng...@inai.de
+
+- Add irqd-uninitialized.diff to address an irqd crash
+
+---

New:

  irqd-uninitialized.diff



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.vIGFFe/_old  2014-08-13 08:48:50.0 +0200
+++ /var/tmp/diff_new_pack.vIGFFe/_new  2014-08-13 08:48:50.0 +0200
@@ -27,6 +27,7 @@
 #Git-Clone:git://github.com/vaesoo/irqd
 Source: %name-%version.tar.xz
 Source3:irqd.service
+Patch1: irqd-uninitialized.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -48,6 +49,7 @@
 
 %prep
 %setup -qn %name
+%patch -P 1 -p1
 
 %build
 if [ ! -e configure ]; then

++ irqd-uninitialized.diff ++
From a4cac47407d44acfbab2d5c715e619302aec4d26 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt jeng...@inai.de
Date: Sun, 10 Aug 2014 17:45:16 +0200
Subject: [PATCH] Avoid calling if_queue_name() with uninitialized variable
Status: submitted, waiting

I suspect that 0 is a sensible default value for the queue variable
in case strpbrk did not find anything, since an interface should
always be having at least one queue (even if that maps to a noop).
---
 interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface.c b/interface.c
index 5cd7047..0f1f520 100644
--- a/interface.c
+++ b/interface.c
@@ -740,7 +740,7 @@ irq_update_stats(const char *action, const struct irq_info 
*ii)
struct if_queue_info *qi = NULL;
enum ProcIrqAction pia;
const char *tail;
-   int queue;
+   int queue = 0;
 
if ((tail = strpbrk(action, -[)) != NULL) {
pia = parse_iface_irq_action_tail(tail, queue);
-- 
2.0.0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2014-08-06 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2014-08-06 11:42:38

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2014-02-11 
11:58:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2014-08-06 
11:42:41.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug  6 04:50:04 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 0.7.2
+* Improve distribution of the evenly scheduler
+* cpu: fix handling of busy CPUs if not part of cpuset
+
+---

Old:

  irqd-0.7.0.g41.tar.xz
  irqd.init

New:

  irqd-0.7.2.tar.xz



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.HSTyOU/_old  2014-08-06 11:42:42.0 +0200
+++ /var/tmp/diff_new_pack.HSTyOU/_new  2014-08-06 11:42:42.0 +0200
@@ -17,15 +17,15 @@
 
 
 Name:   irqd
-Version:0.7.0.g41
+Version:0.7.2
 Release:0
 Summary:Multiqueue and RPS-aware IRQ affinity balancer
 License:GPL-2.0
 Group:  System/Daemons
+Url:http://github.com/vaesoo/irqd
 
 #Git-Clone:git://github.com/vaesoo/irqd
 Source: %name-%version.tar.xz
-Source2:irqd.init
 Source3:irqd.service
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
@@ -33,9 +33,7 @@
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  libtool
-%if 0%{?suse_version} = 1210
-BuildRequires:  systemd
-%endif
+BuildRequires:  systemd-rpm-macros
 BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libnl-route-3.0) = 3.2
@@ -49,12 +47,7 @@
 RPS is not available.
 
 %prep
-%if 0%{?__xz:1}
 %setup -qn %name
-%else
-tar -xf %{S:0} --use=xz;
-%setup -DTqn %name
-%endif
 
 %build
 if [ ! -e configure ]; then
@@ -66,45 +59,27 @@
 %install
 b=%buildroot;
 make install DESTDIR=$b;
-%if 0%{?rhel_version}
-mkdir -p $b/%_initrddir;
-install -pm0755 %{S:2} $b/%_initrddir/irqd;
-%endif
-%if 0%{?_unitdir:1}
-mkdir -p $b/%_unitdir;
+mkdir -p $b/%_unitdir $b/%_sbindir
 install -pm0644 %{S:3} $b/%_unitdir/irqd.service;
-%endif
+ln -s service $b/%_sbindir/rcirqd
 
-%if 0%{?_unitdir:1}
 %pre
 %service_add_pre irqd.service
-%endif
 
 %post
-%if 0%{?_unitdir:1}
 %service_add_post irqd.service
-%endif
-%restart_on_update irqd
 
-%if 0%{?_unitdir:1}
 %preun
 %service_del_preun irqd.service
-%endif
 
-%if 0%{?_unitdir:1}
 %postun
 %service_del_postun irqd.service
-%endif
 
 %files
 %defattr(-,root,root)
-%if 0%{?rhel_version}
-%_initrddir/irqd
-%endif
-%if 0%{?_unitdir:1}
-%_unitdir
-%endif
+%_unitdir/*
 %_sbindir/irqd
+%_sbindir/rcirqd
 %doc DESIGN README
 
 %changelog

++ irqd-0.7.0.g41.tar.xz - irqd-0.7.2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqd/configure.ac new/irqd/configure.ac
--- old/irqd/configure.ac   2012-11-29 17:20:16.0 +0100
+++ new/irqd/configure.ac   2014-08-06 06:49:56.0 +0200
@@ -1,4 +1,4 @@
-AC_INIT([irqd], [0.7.0])
+AC_INIT([irqd], [0.7.2])
 AC_PROG_INSTALL
 AM_INIT_AUTOMAKE([-Wall foreign])
 AC_PROG_CC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/irqd/cpu.c new/irqd/cpu.c
--- old/irqd/cpu.c  2014-01-30 15:42:14.0 +0100
+++ new/irqd/cpu.c  2014-08-06 06:49:56.0 +0200
@@ -42,8 +42,8 @@
const struct cpu_info *a = __a, *b = __b;
 
if (b-ci_num_queues != a-ci_num_queues)
-   return b-ci_num_queues - a-ci_num_queues;
-   return b-ci_num - a-ci_num;
+   return a-ci_num_queues - b-ci_num_queues;
+   return a-ci_num - b-ci_num;
 }
 
 void
@@ -83,20 +83,21 @@
log(%s, buf);
 }
 
-static struct cpu_info *
+static int
 add_queue(struct cpu_info *ci, struct if_queue_info *qi)
 {
struct cpuset *set = ci-ci_cpuset;
 
+   ci-ci_num_queues++;
+
set-cs_cpu_lru_list = g_slist_remove_link(set-cs_cpu_lru_list,
set-cs_cpu_lru_list);
set-cs_cpu_lru_list = g_slist_insert_sorted(set-cs_cpu_lru_list, ci,

 cpu_cmp);
 
ci-ci_queues = g_slist_append(ci-ci_queues, qi);
-   ci-ci_num_queues++;
 
-   return ci;
+   return 0;
 }
 
 struct cpu_info *
@@ -105,7 +106,9 @@
struct cpu_info *ci = cpu_nth(cpu);
struct if_queue_info *qi = if_queue(iface, queue);
 
-   return add_queue(ci, qi);
+   if (add_queue(ci, qi)  0)
+   return NULL;
+   

commit irqd for openSUSE:Factory

2014-02-11 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2014-02-11 11:58:47

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2013-06-06 
12:07:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2014-02-11 
11:58:48.0 +0100
@@ -1,0 +2,11 @@
+Thu Jan 30 14:43:05 UTC 2014 - jeng...@inai.de
+
+- Update to new snapshot 0.7.0.g41
+* support for Atheros queue names
+* support for bnx2 queue names
+* support TX-RX queues that are on different IRQs
+  (e.g. Intel 82574L)
+* resolve odd queue association for some 10GbE hardware
+- Only ship init script for RHEL5,6
+
+---

Old:

  irqd-0.7.0.g14.tar.xz

New:

  irqd-0.7.0.g41.tar.xz



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.uCDxLH/_old  2014-02-11 11:58:48.0 +0100
+++ /var/tmp/diff_new_pack.uCDxLH/_new  2014-02-11 11:58:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
 
 
 Name:   irqd
-Version:0.7.0.g14
+Version:0.7.0.g41
 Release:0
 Summary:Multiqueue and RPS-aware IRQ affinity balancer
 License:GPL-2.0
@@ -66,8 +66,10 @@
 %install
 b=%buildroot;
 make install DESTDIR=$b;
+%if 0%{?rhel_version}
 mkdir -p $b/%_initrddir;
 install -pm0755 %{S:2} $b/%_initrddir/irqd;
+%endif
 %if 0%{?_unitdir:1}
 mkdir -p $b/%_unitdir;
 install -pm0644 %{S:3} $b/%_unitdir/irqd.service;
@@ -96,7 +98,9 @@
 
 %files
 %defattr(-,root,root)
+%if 0%{?rhel_version}
 %_initrddir/irqd
+%endif
 %if 0%{?_unitdir:1}
 %_unitdir
 %endif

++ irqd-0.7.0.g14.tar.xz - irqd-0.7.0.g41.tar.xz ++
 1651 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2013-06-06 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2013-06-06 12:07:56

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2012-11-30 
12:25:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2013-06-06 
12:07:58.0 +0200
@@ -1,0 +2,6 @@
+Wed May 29 14:15:56 UTC 2013 - jeng...@inai.de
+
+- Remove After=syslog.target since that is implicit now
+  with systemd-202
+
+---



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.fd1upG/_old  2013-06-06 12:07:58.0 +0200
+++ /var/tmp/diff_new_pack.fd1upG/_new  2013-06-06 12:07:58.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package irqd
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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

++ irqd.service ++
--- /var/tmp/diff_new_pack.fd1upG/_old  2013-06-06 12:07:58.0 +0200
+++ /var/tmp/diff_new_pack.fd1upG/_new  2013-06-06 12:07:58.0 +0200
@@ -1,6 +1,5 @@
 [Unit]
 Description=RPS-aware IRQ balancing daemon
-After=syslog.target
 Conflicts=irq_balancer.service
 
 [Service]

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2012-11-30 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2012-11-30 12:24:29

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2012-05-07 
22:47:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2012-11-30 
12:25:51.0 +0100
@@ -1,0 +2,12 @@
+Thu Nov 29 16:27:38 UTC 2012 - jeng...@inai.de
+
+- Update to new upstream release 0.7.0
+* Support for assigning NICs to cpusets
+* Support for Broadom and Intel Gigabit queue names
+* Support for non-RPS
+- Snapshot 0.7.0+git14
+* Support for XPS
+- Delete 0001-libnl3-compile-fix.diff, 0002-libnl3-link-fix.diff,
+  0003-va_list-va_list_NULL-fix.diff (merged upstream)
+
+---

Old:

  0001-libnl3-compile-fix.diff
  0002-libnl3-link-fix.diff
  0003-va_list-va_list_NULL-fix.diff
  irqd-0.6.3.tar.xz

New:

  irqd-0.7.0.g14.tar.xz



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.j3Aa8K/_old  2012-11-30 12:25:52.0 +0100
+++ /var/tmp/diff_new_pack.j3Aa8K/_new  2012-11-30 12:25:52.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   irqd
-Version:0.6.3
+Version:0.7.0.g14
 Release:0
 Summary:Multiqueue and RPS-aware IRQ affinity balancer
 License:GPL-2.0
@@ -27,20 +27,18 @@
 Source: %name-%version.tar.xz
 Source2:irqd.init
 Source3:irqd.service
-# PATCH-FIX-UPSTREAM 0001-libnl3-compile-fix.diff status=sent,accepted
-Patch1: 0001-libnl3-compile-fix.diff
-# PATCH-FIX-UPSTREAM 0002-libnl3-link-fix.diff status=sent,accepted
-Patch2: 0002-libnl3-link-fix.diff
-# PATCH-FIX-UPSTREAM 0003-va_list-va_list_NULL-fix.diff 
status=notsentyet,notacceptedyet
-Patch3: 0003-va_list-va_list_NULL-fix.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  flex
 BuildRequires:  libtool
+%if 0%{?suse_version} = 1210
+BuildRequires:  systemd
+%endif
 BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(libnl-3.0)
-BuildRequires:  pkgconfig(libnl-route-3.0)
+BuildRequires:  pkgconfig(libnl-route-3.0) = 3.2
 
 %description
 irqd is an alternative IRQ balancer for Linux kernels. It balances
@@ -52,12 +50,11 @@
 
 %prep
 %if 0%{?__xz:1}
-%setup -q
+%setup -qn %name
 %else
 tar -xf %{S:0} --use=xz;
-%setup -DTq
+%setup -DTqn %name
 %endif
-%patch -P 1 -P 2 -p1 -P 3 -p1
 
 %build
 if [ ! -e configure ]; then
@@ -68,15 +65,42 @@
 
 %install
 b=%buildroot;
-%makeinstall
-mkdir -p $b/%_initrddir $b/lib/systemd/system;
+make install DESTDIR=$b;
+mkdir -p $b/%_initrddir;
 install -pm0755 %{S:2} $b/%_initrddir/irqd;
-install -pm0644 %{S:3} $b/lib/systemd/system/irqd.service;
+%if 0%{?_unitdir:1}
+mkdir -p $b/%_unitdir;
+install -pm0644 %{S:3} $b/%_unitdir/irqd.service;
+%endif
+
+%if 0%{?_unitdir:1}
+%pre
+%service_add_pre irqd.service
+%endif
+
+%post
+%if 0%{?_unitdir:1}
+%service_add_post irqd.service
+%endif
+%restart_on_update irqd
+
+%if 0%{?_unitdir:1}
+%preun
+%service_del_preun irqd.service
+%endif
+
+%if 0%{?_unitdir:1}
+%postun
+%service_del_postun irqd.service
+%endif
 
 %files
 %defattr(-,root,root)
 %_initrddir/irqd
-/lib/systemd/system/irqd.service
+%if 0%{?_unitdir:1}
+%_unitdir
+%endif
 %_sbindir/irqd
+%doc DESIGN README
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2012-05-07 22:46:28

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2012-01-04 
07:24:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2012-05-07 
22:47:29.0 +0200
@@ -1,0 +2,6 @@
+Fri Apr 27 08:05:36 UTC 2012 - joop.boo...@opensuse.org
+
+- Fix for ARM va_list NULL is not allowed. 
+  Work around via va_list ap creation, so an empty va_list is created. 
+
+---

New:

  0003-va_list-va_list_NULL-fix.diff



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.jrnUJx/_old  2012-05-07 22:47:31.0 +0200
+++ /var/tmp/diff_new_pack.jrnUJx/_new  2012-05-07 22:47:31.0 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   irqd
 Version:0.6.3
 Release:0
@@ -32,12 +31,16 @@
 Patch1: 0001-libnl3-compile-fix.diff
 # PATCH-FIX-UPSTREAM 0002-libnl3-link-fix.diff status=sent,accepted
 Patch2: 0002-libnl3-link-fix.diff
+# PATCH-FIX-UPSTREAM 0003-va_list-va_list_NULL-fix.diff 
status=notsentyet,notacceptedyet
+Patch3: 0003-va_list-va_list_NULL-fix.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  autoconf automake libtool
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(libnl-3.0)
 BuildRequires:  pkgconfig(libnl-route-3.0)
-BuildRequires:  xz
 
 %description
 irqd is an alternative IRQ balancer for Linux kernels. It balances
@@ -54,7 +57,7 @@
 tar -xf %{S:0} --use=xz;
 %setup -DTq
 %endif
-%patch -P 1 -P 2 -p1
+%patch -P 1 -P 2 -p1 -P 3 -p1
 
 %build
 if [ ! -e configure ]; then

++ 0003-va_list-va_list_NULL-fix.diff ++
diff -Naur irqd-0.6.3.orig/log.c irqd-0.6.3/log.c
--- irqd-0.6.3.orig/log.c   2011-09-14 11:11:22.0 +0200
+++ irqd-0.6.3/log.c2012-04-27 09:38:09.0 +0200
@@ -73,14 +73,18 @@
 void
 id_bug(const char *file, int line)
 {
-   id_fail_va(file, line, BUG, NULL);
+// As a NULL is not allowed for ARM va_list
+   va_list ap;
+   id_fail_va(file, line, BUG, ap);
abort();
 }
 
 void
 id_oom(const char *file, int line)
 {
-   id_fail_va(file, line, OOM, NULL);
+// As a NULL is not allowed for ARM va_list
+   va_list ap;
+   id_fail_va(file, line, OOM, ap);
errno = ENOMEM;
 }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2012-01-03 Thread h_root
Hello community,

here is the log from the commit of package irqd for openSUSE:Factory checked in 
at 2012-01-04 07:24:10

Comparing /work/SRC/openSUSE:Factory/irqd (Old)
 and  /work/SRC/openSUSE:Factory/.irqd.new (New)


Package is irqd, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/irqd/irqd.changes2011-09-23 
02:03:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.irqd.new/irqd.changes   2012-01-04 
07:24:11.0 +0100
@@ -1,0 +2,10 @@
+Fri Dec 30 06:00:33 UTC 2011 - jeng...@medozas.de
+
+- Set up conflict between irq.service and irq_balancer.service.
+
+---
+Fri Dec  2 16:27:30 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ irqd.spec ++
--- /var/tmp/diff_new_pack.4mE5lW/_old  2012-01-04 07:24:11.0 +0100
+++ /var/tmp/diff_new_pack.4mE5lW/_new  2012-01-04 07:24:11.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package irqd
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -33,8 +33,11 @@
 # PATCH-FIX-UPSTREAM 0002-libnl3-link-fix.diff status=sent,accepted
 Patch2: 0002-libnl3-link-fix.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  pkgconfig(glib-2.0) pkgconfig(libnl-3.0)
-BuildRequires:  pkgconfig(libnl-route-3.0) xz
+BuildRequires:  autoconf automake libtool
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libnl-3.0)
+BuildRequires:  pkgconfig(libnl-route-3.0)
+BuildRequires:  xz
 
 %description
 irqd is an alternative IRQ balancer for Linux kernels. It balances


++ irqd.service ++
--- /var/tmp/diff_new_pack.4mE5lW/_old  2012-01-04 07:24:11.0 +0100
+++ /var/tmp/diff_new_pack.4mE5lW/_new  2012-01-04 07:24:11.0 +0100
@@ -1,6 +1,7 @@
 [Unit]
 Description=RPS-aware IRQ balancing daemon
 After=syslog.target
+Conflicts=irq_balancer.service
 
 [Service]
 Type=forking

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit irqd for openSUSE:Factory

2011-09-21 Thread h_root

Hello community,

here is the log from the commit of package irqd for openSUSE:Factory
checked in at Wed Sep 21 17:06:53 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/irqd/irqd.changes  2011-09-14 
11:23:45.0 +0200
@@ -0,0 +1,5 @@
+---
+Wed Sep 14 09:23:19 UTC 2011 - jeng...@medozas.de
+
+- Initial package for build.opensuse.org
+

calling whatdependson for head-i586


New:

  0001-libnl3-compile-fix.diff
  0002-libnl3-link-fix.diff
  irqd-0.6.3.tar.xz
  irqd.changes
  irqd.init
  irqd.service
  irqd.spec



Other differences:
--
++ irqd.spec ++
#
# spec file for package irqd
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   irqd
Version:0.6.3
Release:0
Summary:Multiqueue and RPS-aware IRQ affinity balancer
License:GPL-2.0
Group:  System/Daemons

#Git-Clone: git://github.com/vaesoo/irqd
Source: %name-%version.tar.xz
Source2:irqd.init
Source3:irqd.service
# PATCH-FIX-UPSTREAM 0001-libnl3-compile-fix.diff status=sent,accepted
Patch1: 0001-libnl3-compile-fix.diff
# PATCH-FIX-UPSTREAM 0002-libnl3-link-fix.diff status=sent,accepted
Patch2: 0002-libnl3-link-fix.diff
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  pkgconfig(glib-2.0) pkgconfig(libnl-3.0)
BuildRequires:  pkgconfig(libnl-route-3.0) xz

%description
irqd is an alternative IRQ balancer for Linux kernels. It balances
the IRQs more or less evenly across the CPUs you have in your system.

It currently relies on the Receive Packet Steering (RPS)
implementation of newer Linux kernels, it is of less use currently if
RPS is not available.

%prep
%if 0%{?__xz:1}
%setup -q
%else
tar -xf %{S:0} --use=xz;
%setup -DTq
%endif
%patch -P 1 -P 2 -p1

%build
if [ ! -e configure ]; then
./autogen.sh;
fi
%configure
make %{?_smp_mflags}

%install
b=%buildroot;
%makeinstall
mkdir -p $b/%_initrddir $b/lib/systemd/system;
install -pm0755 %{S:2} $b/%_initrddir/irqd;
install -pm0644 %{S:3} $b/lib/systemd/system/irqd.service;

%files
%defattr(-,root,root)
%_initrddir/irqd
/lib/systemd/system/irqd.service
%_sbindir/irqd

%changelog
++ 0001-libnl3-compile-fix.diff ++
parent 7346cd009550dbb7f056db783ba816d897e6ed90 ()
commit c20c63ef683c67df20680516af5d9df28f059918
Author: Jan Engelhardt jeng...@medozas.de
Date:   Wed Sep 14 10:32:24 2011 +0200

build: fix compilation error with libnl = 3.1

  CC interface.o
In file included from /usr/include/libnl3/netlink/route/link.h:18:0,
from interface.c:25:
/usr/include/linux/if.h:133:8: error: redefinition of ‘struct ifmap’
/usr/include/net/if.h:112:8: note: originally defined here
/usr/include/linux/if.h:167:8: error: redefinition of ‘struct ifreq’
/usr/include/net/if.h:127:8: note: originally defined here
/usr/include/linux/if.h:216:8: error: redefinition of ‘struct ifconf’
/usr/include/net/if.h:177:8: note: originally defined here
---
 interface.h |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface.h b/interface.h
index 9c04fb8..f4d5a3c 100644
--- a/interface.h
+++ b/interface.h
@@ -17,8 +17,8 @@
 #ifndef INTERFACE_H
 #define INTERFACE_H
 
-#include net/if.h
-
+#include sys/socket.h
+#include linux/if.h
 
 struct interface;
 struct cpuset;
-- 
# Created with git-export-patch
++ 0002-libnl3-link-fix.diff ++
parent c20c63ef683c67df20680516af5d9df28f059918 ()
commit 528745866536de0556dc78a5c92ea48c1921836a
Author: Jan Engelhardt jeng...@medozas.de
Date:   Tue Sep 13 11:52:12 2011 +0200

build: bump for libnl-3.2 and add missing nl-route to linker invocation

  CCLD   irqd
interface.o: In function rtnl_balance_link:
/home/jengelh/obs/SU_dev/irqd/irqd/interface.c:340:
undefined reference to rtnl_link_get_name
/home/jengelh/obs/SU_dev/irqd/irqd/interface.c:352:
undefined reference to rtnl_link_get_flags
collect2: ld returned 1 exit status
---
 Makefile.am  |2 +-
 configure.ac |3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e9ff88b..12c07a1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,4 +6,4 @@ AM_CFLAGS  =