[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B575E35.2050204@kernel.org>
Date: Wed, 20 Jan 2010 11:49:09 -0800
From: Yinghai Lu <yinghai@...nel.org>
To: Christoph Lameter <cl@...ux-foundation.org>
CC: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists