summaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-10-07 23:28:45 +0200
committerHelge Deller <deller@gmx.de>2018-10-17 08:18:01 +0200
commit2e37787df0ed0047848dba2eba53510a9185b991 (patch)
tree55a9831b14dc94c865632104feb9bfadef7df050 /drivers/parisc
parent35d8be9c563c9b2d6550833ad494f90bffde7ff0 (diff)
downloadlinux-2e37787df0ed0047848dba2eba53510a9185b991.tar.gz
linux-2e37787df0ed0047848dba2eba53510a9185b991.tar.bz2
linux-2e37787df0ed0047848dba2eba53510a9185b991.zip
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>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/dino.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index ac646d42b300..dfeea458a789 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -396,9 +396,8 @@ ilr_again:
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;
}