1 /// Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
2 /// threaded IRQs without a primary handler need to be requested with
3 /// IRQF_ONESHOT, otherwise the request will fail.
5 /// So pass the IRQF_ONESHOT flag in this case.
10 // Options: --no-includes
25 request_threaded_irq@p(irq, NULL, thread_fn,
33 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn,
50 request_threaded_irq@p(irq, NULL, thread_fn,
60 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn,
74 *request_threaded_irq@p(...)
76 @match depends on report || org@
80 request_threaded_irq@p(irq, NULL, ...)
82 @script:python depends on org@
85 msg = "ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT"
86 coccilib.org.print_todo(p[0],msg)
88 @script:python depends on report@
91 msg = "ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT"
92 coccilib.report.print_report(p[0],msg)