]> git.karo-electronics.de Git - linux-beck.git/commitdiff
coccinelle: irqf_oneshot.cocci: Improve the generated commit log
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 24 May 2015 20:45:54 +0000 (17:45 -0300)
committerMichal Marek <mmarek@suse.cz>
Mon, 25 May 2015 08:23:07 +0000 (16:23 +0800)
Improve the commit log of the generated patch by mentioning the commit
log that makes threaded IRQs without a primary handler to be requested
with the IRQF_ONESHOT flag.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked- by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/misc/irqf_oneshot.cocci

index b17ac8b998947cf7191ff70d2b44f5488b420226..b421150a2effcd925e83758bbf609d038e67ac1b 100644 (file)
@@ -1,5 +1,8 @@
-/// Make sure threaded IRQs without a primary handler are always requested with
-/// IRQF_ONESHOT
+/// 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.
 ///
 //
 // Confidence: Good