shithub: riscv

Download patch

ref: d0ae2e369e0221e796f4b58255b21ce3592d80dc
parent: e97719f416b0b4573d59632e92a39a2b922d7207
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jan 28 13:38:26 EST 2024

zynq: fix missing return argument for intr()

--- a/sys/src/9/zynq/intr.c
+++ b/sys/src/9/zynq/intr.c
@@ -98,7 +98,7 @@
 	v = mpcore[ICCIAR];
 	irq = v & 0x3ff;
 	if(irq == 0x3ff)
-		return;
+		return 0;
 		
 	m->intr++;
 	m->lastintr = irq;