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    [W:0.042 / U:0.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site