Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1296996 > unrolled thread

Re: [PATCH] iio: exynos-adc: fix irqf_oneshot.cocci warnings

Started byOlof Johansson <olof@lixom.net>
First post2015-12-22 20:10 +0100
Last post2015-12-22 20:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] iio: exynos-adc: fix irqf_oneshot.cocci warnings Olof Johansson <olof@lixom.net> - 2015-12-22 20:10 +0100

#1296996 — Re: [PATCH] iio: exynos-adc: fix irqf_oneshot.cocci warnings

FromOlof Johansson <olof@lixom.net>
Date2015-12-22 20:10 +0100
SubjectRe: [PATCH] iio: exynos-adc: fix irqf_oneshot.cocci warnings
Message-ID<qIAtQ-7UX-29@gated-at.bofh.it>
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@intel.com>
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web