lkml.org 
[lkml]   [2010]   [Jan]   [20]   [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 01/19/2010 10:01 AM, Christoph Lameter wrote:
> 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?

ok, will remove this unneeded checking.

YH


\
 
 \ /
  Last update: 2010-01-20 20:51    [W:0.160 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site