Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Helge Deller <deller@gmx.de>

+1 -2
+1 -2
drivers/parisc/dino.c
··· 396 396 if (mask) { 397 397 if (--ilr_loop > 0) 398 398 goto ilr_again; 399 - printk(KERN_ERR "Dino 0x%px: stuck interrupt %d\n", 399 + pr_warn_ratelimited("Dino 0x%px: stuck interrupt %d\n", 400 400 dino_dev->hba.base_addr, mask); 401 - return IRQ_NONE; 402 401 } 403 402 return IRQ_HANDLED; 404 403 }