File Fix-uninitialized-variable.patch of Package irqbalance.27232
From: Neil Horman <neil.horman@privafy.com>
Subject: Fix uninitialized variable
References:
Patch-Mainline: v1.9.2
Git-commit: 014765d947b3624db9d5591299ea315607733c3c
Git-repo: https://github.com/Irqbalance/irqbalance.git.git
Resolves https://github.com/Irqbalance/irqbalance/pull/240#issuecomment-1283741093
Signed-off-by: Neil Horman <nhorman@gmail.com>
Signed-off-by: <trenn@suse.com>
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];