Skip to content

Commit 44133f7

Browse files
malaterreKAGA-KOKO
authored andcommitted
genirq: Annotate implicit fall through
There is a plan to build the kernel with -Wimplicit-fallthrough. The fallthrough in __irq_set_trigger() lacks an annotation. Add it. Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190114203154.17125-1-malat@debian.org
1 parent 1c7fc5c commit 44133f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎kernel/irq/manage.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ int __irq_set_trigger(struct irq_desc *desc, unsigned long flags)
723723
case IRQ_SET_MASK_OK_DONE:
724724
irqd_clear(&desc->irq_data, IRQD_TRIGGER_MASK);
725725
irqd_set(&desc->irq_data, flags);
726+
/* fall through */
726727

727728
case IRQ_SET_MASK_OK_NOCOPY:
728729
flags = irqd_get_trigger_type(&desc->irq_data);

0 commit comments

Comments
 (0)