[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151222050925.GL30172@localhost>
Date: Mon, 21 Dec 2015 21:09:25 -0800
From: Olof Johansson <olof@...om.net>
To: Valentin Rothberg <valentinrothberg@...il.com>
Cc: arnd@...db.de, fengguang.wu@...el.com, arm@...nel.org,
linux-kernel@...r.kernel.org, dmitry.torokhov@...il.com
Subject: Re: [PATCH] iio: exynos-adc: fix irqf_oneshot.cocci warnings
On Wed, Dec 02, 2015 at 09:43:10AM +0100, Valentin Rothberg wrote:
> Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
> threaded IRQs without a primary handler need to be requested with
> IRQF_ONESHOT, otherwise the request will fail.
>
> So pass the IRQF_ONESHOT flag in this case.
>
> Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci
>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
> Signed-off-by: Valentin Rothberg <valentinrothberg@...il.com>
> ---
>
> The patch looks fine to me: bad things can happen when interrupts are
> acked before the handler ran.
Hi,
Applied. Thanks.
-Olof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists