mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
declance: Rate-limit DMA errors
Prevent the system from becoming unusable due to a flood of DMA error messages. Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk> Link: https://patch.msgid.link/alpine.DEB.2.21.2603291838370.60268@angie.orcam.me.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a94ddc191f
commit
ee769323b1
|
|
@ -727,7 +727,7 @@ static irqreturn_t lance_dma_merr_int(int irq, void *dev_id)
|
|||
{
|
||||
struct net_device *dev = dev_id;
|
||||
|
||||
printk(KERN_ERR "%s: DMA error\n", dev->name);
|
||||
pr_err_ratelimited("%s: DMA error\n", dev->name);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user