Update to 1.9.1 (fedora#2134603)

This commit is contained in:
Timothée Ravier 2022-10-19 19:17:31 +02:00
parent c878b4ab45
commit 719a17fc9c
3 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From 014765d947b3624db9d5591299ea315607733c3c Mon Sep 17 00:00:00 2001
From: Neil Horman <neil.horman@privafy.com>
Date: Wed, 19 Oct 2022 08:10:05 -0400
Subject: [PATCH] Fix uninitialized variable
Resolves https://github.com/Irqbalance/irqbalance/pull/240#issuecomment-1283741093
Signed-off-by: Neil Horman <nhorman@gmail.com>
---
classify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classify.c b/classify.c
index 3858754..4ea4b44 100644
--- a/classify.c
+++ b/classify.c
@@ -646,7 +646,7 @@ static void build_one_dev_entry(const char *dirname, int build_irq)
struct dirent *entry;
DIR *msidir;
int irqnum;
- struct irq_info hint;
+ struct irq_info hint = {0};
char path[PATH_MAX];
char devpath[PATH_MAX];

View File

@ -1,5 +1,5 @@
Name: irqbalance Name: irqbalance
Version: 1.9.0 Version: 1.9.1
Release: 1%{?dist} Release: 1%{?dist}
Epoch: 2 Epoch: 2
Summary: IRQ balancing daemon Summary: IRQ balancing daemon
@ -7,6 +7,8 @@ License: GPLv2
URL: https://github.com/Irqbalance/irqbalance URL: https://github.com/Irqbalance/irqbalance
Source0: %{url}/archive/v%{version}/irqbalance-%{version}.tar.gz Source0: %{url}/archive/v%{version}/irqbalance-%{version}.tar.gz
Patch1: irqbalance-1.9.0-environment-file-sysconfig.patch Patch1: irqbalance-1.9.0-environment-file-sysconfig.patch
# https://github.com/Irqbalance/irqbalance/issues/241
Patch2: irqbalance-1.9.1-fix-uninitialized-variable.patch
BuildRequires: autoconf automake libtool libcap-ng BuildRequires: autoconf automake libtool libcap-ng
BuildRequires: glib2-devel pkgconf libcap-ng-devel BuildRequires: glib2-devel pkgconf libcap-ng-devel
@ -60,6 +62,9 @@ make check
%systemd_postun_with_restart irqbalance.service %systemd_postun_with_restart irqbalance.service
%changelog %changelog
* Wed Oct 19 2022 Timothée Ravier <tim@siosm.fr> - 2:1.9.1-1
- Update to 1.9.1 (fedora#2134603)
* Mon Aug 01 2022 Timothée Ravier <tim@siosm.fr> - 2:1.9.0-1 * Mon Aug 01 2022 Timothée Ravier <tim@siosm.fr> - 2:1.9.0-1
- Update to 1.9.0 (fedora#1952715 fedora#2091169 fedora#2063926) - Update to 1.9.0 (fedora#1952715 fedora#2091169 fedora#2063926)
- Fix EnvironmentFile location in systemd unit (fedora#2058510) - Fix EnvironmentFile location in systemd unit (fedora#2058510)

View File

@ -1 +1 @@
SHA512 (irqbalance-1.9.0.tar.gz) = 878977da5eff18e53bdceeaa4aca952f73ba8b03eb028cf176816af971ffc65f0b1f1bb3a68e3a2502491895cc2b9438652dc97d5696232bb2f64860109e9a24 SHA512 (irqbalance-1.9.1.tar.gz) = ec2abd3aad61e5370ca13a767fb6b5b206b61f5751853995780dd62e1657d88d74819ff5838ad2599855c701ea5d53755bf108a5427469faa7b1f042351b6068