genirq: Convert to use the preferred fallthrough macro
PATCH 1/1 genirq: Convert to use the preferred fallthrough macro
Convert the uses of fallthrough comments to fallthrough macro.
Signed-off-by Miaohe Lin <[email protected]>
--- kernel/irq/manage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/irq/manage.c +2 -2
@@ -271,7 +271,7 @@ int irq_do_set_affinity(struct irq_data *data, const struct cpumask *mask,case IRQ_SET_MASK_OK :case IRQ_SET_MASK_OK_DONE :cpumask_copy (desc->irq_common_data.affinity, mask); -/* fall through */ + fallthrough;case IRQ_SET_MASK_OK_NOCOPY :irq_validate_effective_affinity (data);irq_set_thread_affinity (desc);
@@ -868,7 +868,7 @@ int __irq_set_trigger(struct irq_desc *desc, unsigned long flags)case IRQ_SET_MASK_OK_DONE :irqd_clear (&desc->irq_data,IRQD_TRIGGER_MASK );irqd_set (&desc->irq_data, flags); -/* fall through */ + fallthrough;case IRQ_SET_MASK_OK_NOCOPY : flags =irqd_get_trigger_type (&desc->irq_data);
Signature · 1 line
2.19.1