[PATCH] Dove: Fix irq_to_pmu()

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Nov 18 15:38:15 EST 2012


On Sun, Nov 18, 2012 at 11:00:28PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 18-11-2012 20:39, Russell King - ARM Linux wrote:
>
>> PMU interrupts start at IRQ_DOVE_PMU_START, not IRQ_DOVE_PMU_START + 1.
>> Fix the condition.  (It may have been less likely to occur had the code
>> been written "if (irq >= IRQ_DOVE_PMU_START" which imho is the easier
>> to understand notation, and matches the normal way of thinking about
>> these things.)
>
>> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
>> --
>
>    Should be "---", or somebody (you?) will have to hand edit the patch 
> when applying...

Sorry, can never remember that...



More information about the linux-arm-kernel mailing list