Re: [tip:irq/core] genirq: Warn if enable_irq is called before irqis set up

From: Thomas Gleixner
Date: Fri Oct 22 2010 - 10:09:51 EST


On Fri, 22 Oct 2010, Richard Weinberger wrote:
> On Fri, 22 Oct 2010 13:09:49 GMT, tip-bot for Thomas Gleixner
> > @@ -324,6 +324,10 @@ void enable_irq(unsigned int irq)
> > if (!desc)
> > return;
> >
> > + if (WARN(!desc->irq_data.chip || !desc->irq_data.chip->irq_enable,
> > + "KERN_ERR enable_irq before setup/request_irq: irq %u\n", irq))
>
> Here is a little typo. The double quote should be after KERN_ERR.

Crap, yes. It still compiles :)

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/