From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Sun, 18 Nov 2012 20:38:15 +0000 Subject: [PATCH] Dove: Fix irq_to_pmu() In-Reply-To: <50A9304C.9010006@mvista.com> References: <20121118162944.GV3290@n2100.arm.linux.org.uk> <20121118163932.GW3290@n2100.arm.linux.org.uk> <50A9304C.9010006@mvista.com> Message-ID: <20121118203815.GY3290@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 >> -- > > Should be "---", or somebody (you?) will have to hand edit the patch > when applying... Sorry, can never remember that...