Re: [PATCH 29/37] sparseirq: change irq_desc_ptrs to static

From: Christoph Lameter
Date: Tue Jan 19 2010 - 13:03:22 EST


On Fri, 15 Jan 2010, Yinghai Lu wrote:

> +void replace_irq_desc(unsigned int irq, struct irq_desc *desc)
> +{
> + if (irq_desc_ptrs && irq < nr_irqs)
> + irq_desc_ptrs[irq] = desc;
> +}

Why is it now ok to specify an out of range irq number?

--
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/