mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [tip:irq/urgent] avr32/at32ap: Fix race in installing chained IRQ handler
       [not found] <tip-bf54da7d3a49d3359574cdc1590bbc79ee19be6a@git.kernel.org>
@ 2015-06-28 18:15 ` Hans-Christian Egtvedt
  0 siblings, 0 replies; only message in thread
From: Hans-Christian Egtvedt @ 2015-06-28 18:15 UTC (permalink / raw)
  To: rmk+kernel, hskinnemoen, hpa, mingo, tglx, Julia.Lawall, linux-kernel
  Cc: linux-tip-commits

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
> 

<snipp>


> Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Julia Lawall <Julia.Lawall@lip6.fr>
> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
> ---
>  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 <egtvedt@samfundet.no>

-- 
mvh
Hans-Christian Egtvedt

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-28 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tip-bf54da7d3a49d3359574cdc1590bbc79ee19be6a@git.kernel.org>
2015-06-28 18:15 ` [tip:irq/urgent] avr32/at32ap: Fix race in installing chained IRQ handler Hans-Christian Egtvedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®