File Update-classify.c.patch of Package irqbalance.27245

From: liuchao173 <55137861+liuchao173@users.noreply.github.com>
Subject: Update classify.c
References: bsc#1204961
Patch-Mainline: v1.7.0
Git-commit: 27335d21e392b1d17b030a7bfc1d99a9e61db421
Git-repo: https://github.com/Irqbalance/irqbalance.git.git



Signed-off-by:  <trenn@suse.de>
Index: irqbalance-1.4.0/classify.c
===================================================================
--- irqbalance-1.4.0.orig/classify.c
+++ irqbalance-1.4.0/classify.c
@@ -666,7 +666,7 @@ static void build_one_dev_entry(const ch
 		new = get_irq_info(irqnum);
 		if (new)
 			goto done;
-		get_irq_user_policy(irqnum, &pol);
+		get_irq_user_policy(devpath, irqnum, &pol);
 		if ((pol.ban == 1) || (check_for_irq_ban(irqnum, tmp_irqs))) {
 			add_banned_irq(irqnum, &banned_irqs);
 			goto done;
openSUSE Build Service is sponsored by