lkml.org 
[lkml]   [2010]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 29/37] sparseirq: change irq_desc_ptrs to static
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?



\
 
 \ /
  Last update: 2010-01-19 19:05    [from the cache]
©2003-2011 Jasper Spaans