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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux