genirq: Add missing IRQF_ONESHOT
PATCH 1/1 genirq: Add missing IRQF_ONESHOT
fixed the following coccicheck:
./kernel/irq/manage.c:2193:8-28: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/manage.c +1 -1
@@ -2191,7 +2191,7 @@ int request_any_context_irq(unsigned int irq, irq_handler_t handler,if (irq_settings_is_nested_thread (desc)) { ret =request_threaded_irq (irq,NULL , handler, - flags, name, dev_id); + flags |IRQF_ONESHOT , name, dev_id);return !ret ?IRQC_IS_NESTED : ret; }
Signature · 1 line
1.8.3.1
Quoted 3 lines · Yang Li
fixed the following coccicheck:
./kernel/irq/manage.c:2193:8-28: ERROR: Threaded IRQ with no primary handler requested withoutIRQF_ONESHOT
This fixes nothing because it's for a nested thread and not relevant to that check at all.
Thanks,
tglx