Re: [tip:irq/core] genirq: Make nr_irqs runtime expandable

From: Thomas Gleixner
Date: Mon Feb 21 2011 - 08:44:27 EST


On Mon, 21 Feb 2011, Thomas Gleixner wrote:
> On Sat, 19 Feb 2011, Yinghai Lu wrote:
> > - if (start >= nr_irqs) {
> > + if (start + cnt > nr_irqs) {
>
> One off. That needs to be >= nr_irqs. Good catch otherwise.

Confused myself. Check is correct as is.
--
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/