Source: irqbalance
Version: 1.1.0-1
Tags: patch
User: debian-...@lists.debian.org
Usertags: arm64

It failed to build on arm64:

https://buildd.debian.org/status/package.php?p=irqbalance&suite=sid

It built with the attached patch, which corrects two typos,
apparently.
diff -ru irqbalance-1.1.0.orig/procinterrupts.c irqbalance-1.1.0/procinterrupts.c
--- irqbalance-1.1.0.orig/procinterrupts.c
+++ irqbalance-1.1.0/procinterrupts.c
@@ -80,7 +80,7 @@
 			rc = 0;
 			goto out;
 		} else if (!strncmp(ent->d_name, "net", strlen("net"))) {
-			info->IRQ_TYPE_LEGACY;
+			info->type = IRQ_TYPE_LEGACY;
 			info->class = IRQ_ETH;
 			rc = 0;
 			goto out;
@@ -94,7 +94,7 @@
 
 out:
 	closedir(dirfd);
-	log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, info->type, info->class)
+	log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, info->type, info->class);
 	return rc;
 
 }

Reply via email to