Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752689AbbF1SQA (ORCPT ); Sun, 28 Jun 2015 14:16:00 -0400 Received: from cassarossa.samfundet.no ([193.35.52.29]:60340 "EHLO cassarossa.samfundet.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582AbbF1SPy (ORCPT ); Sun, 28 Jun 2015 14:15:54 -0400 Date: Sun, 28 Jun 2015 20:15:29 +0200 From: Hans-Christian Egtvedt To: rmk+kernel@arm.linux.org.uk, hskinnemoen@gmail.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, Julia.Lawall@lip6.fr, linux-kernel@vger.kernel.org Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:irq/urgent] avr32/at32ap: Fix race in installing chained IRQ handler Message-ID: <20150628181529.GB8046@samfundet.no> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1585 Lines: 45 Around Fri 26 Jun 2015 12:47:18 -0700 or thereabout, tip-bot for Thomas Gleixner wrote: > avr32/at32ap: Fix race in installing chained IRQ handler > > Reported-by: Russell King > Signed-off-by: Thomas Gleixner > Cc: Julia Lawall > Cc: Haavard Skinnemoen > Cc: Hans-Christian Egtvedt > --- > arch/avr32/mach-at32ap/extint.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/avr32/mach-at32ap/extint.c b/arch/avr32/mach-at32ap/extint.c > index cfb298d..2d48b6a 100644 > --- a/arch/avr32/mach-at32ap/extint.c > +++ b/arch/avr32/mach-at32ap/extint.c > @@ -231,8 +231,7 @@ static int __init eic_probe(struct platform_device *pdev) > irq_set_chip_data(eic->first_irq + i, eic); > } > > - irq_set_chained_handler(int_irq, demux_eic_irq); > - irq_set_handler_data(int_irq, eic); > + irq_set_chained_handler_and_data(int_irq, demux_eic_irq, eic); > > if (pdev->id == 0) { > nmi_eic = eic; Good fix, wil you pass it through your git tree, or would you prefer I add it to the AVR32 tree? I have nothing in the pipe, hence feel free to add it to a series if you are preparing fixes. Acked-by: Hans-Christian Egtvedt -- mvh Hans-Christian Egtvedt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/