Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package irqbalance for openSUSE:Factory checked in at 2022-07-02 15:33:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irqbalance (Old) and /work/SRC/openSUSE:Factory/.irqbalance.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "irqbalance" Sat Jul 2 15:33:43 2022 rev:63 rq:986191 version:1.8.0.18.git+2435e8d Changes: -------- --- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes 2021-09-13 16:24:36.122749630 +0200 +++ /work/SRC/openSUSE:Factory/.irqbalance.new.1548/irqbalance.changes 2022-07-02 15:33:44.782946126 +0200 @@ -1,0 +2,6 @@ +Mon Jun 27 12:52:42 UTC 2022 - Andreas Schwab <sch...@suse.de> + +- proc-interrupts.patch: parse_proc_interrupts: fix parsing interrupt + counts + +------------------------------------------------------------------- New: ---- proc-interrupts.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqbalance.spec ++++++ --- /var/tmp/diff_new_pack.Hgp88Q/_old 2022-07-02 15:33:46.166948203 +0200 +++ /var/tmp/diff_new_pack.Hgp88Q/_new 2022-07-02 15:33:46.174948214 +0200 @@ -31,6 +31,7 @@ Source: %{name}-%{version}.tar.gz Source3: sysconfig.irqbalance Patch1: Set-fd-limit.patch +Patch2: proc-interrupts.patch BuildRequires: libcap-ng-devel BuildRequires: libtool BuildRequires: ncurses-devel ++++++ proc-interrupts.patch ++++++ >From 0a82dddbaf5702caded0d0d83a6eafaca743254d Mon Sep 17 00:00:00 2001 From: Andreas Schwab <sch...@suse.de> Date: Mon, 27 Jun 2022 13:43:04 +0200 Subject: [PATCH] parse_proc_interrupts: fix parsing interrupt counts The name of an interrupt chip can start with a number, stop before it. --- procinterrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procinterrupts.c b/procinterrupts.c index 57c8801..d90bf6d 100644 --- a/procinterrupts.c +++ b/procinterrupts.c @@ -331,7 +331,7 @@ void parse_proc_interrupts(void) while (1) { uint64_t C; C = strtoull(c, &c2, 10); - if (c==c2) /* end of numbers */ + if (c==c2 || !strchr(" \t", *c2)) /* end of numbers */ break; count += C; c=c2; -- 2.35.3