Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e37787d authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Ratelimit dino stuck interrupt warnings



While playing with qemu with an emulated RT8139cp NIC, I faced lots of
the following warnings:
Dino 0x00810000: stuck interrupt 2

This patch ratelimits this warning and reports back that the IRQ was
handled.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 35d8be9c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -396,9 +396,8 @@ static irqreturn_t dino_isr(int irq, void *intr_dev)
	if (mask) {
		if (--ilr_loop > 0)
			goto ilr_again;
		printk(KERN_ERR "Dino 0x%px: stuck interrupt %d\n",
		pr_warn_ratelimited("Dino 0x%px: stuck interrupt %d\n",
		       dino_dev->hba.base_addr, mask);
		return IRQ_NONE;
	}
	return IRQ_HANDLED;
}