瀏覽代碼

coccinelle: irqf_oneshot.cocci: Improve the generated commit log

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>
Fabio Estevam 10 年之前
父節點
當前提交
9473a62f77
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      scripts/coccinelle/misc/irqf_oneshot.cocci

+ 5 - 2
scripts/coccinelle/misc/irqf_oneshot.cocci

@@ -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