Re: [PATCH 01/23] kernel: irq: irqdescs: warn on spurious IRQ

From: Andy Shevchenko
Date: Fri Dec 18 2020 - 10:56:48 EST


On Fri, Dec 18, 2020 at 4:37 PM Enrico Weigelt, metux IT consult
<info@xxxxxxxxx> wrote:

> + if (printk_ratelimit())
> + pr_warn("spurious IRQ: irq=%d hwirq=%d nr_irqs=%d\n",
> + irq, hwirq, nr_irqs);

Perhaps you missed pr_warn_ratelimit() macro which is already in the
kernel for a long time.

--
With Best Regards,
Andy Shevchenko