Skip to contentSkip to conversation

kernel: irq: irqdesc: comments on endif's

PATCH New Enrico Weigelt, metux IT consult 1 participant 1 message Dec 18, 2020 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: irq: irqdesc: comments on endif's

For better readability, add a comments to #endif's, telling which condition they're closing.

---
 kernel/irq/irqdesc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/irq/irqdesc.c +2 -2
index e810eb9906ea..ed56e9c65866 100644
@@ -729,8 +729,8 @@ int handle_domain_nmi(struct irq_domain *domain, unsigned int hwirq,
 	set_irq_regs(old_regs);
 	return ret;
 }
-#endif
-#endif
+#endif /* CONFIG_IRQ_DOMAIN */
+#endif /* CONFIG_HANDLE_DOMAIN_IRQ */
 
 /* Dynamic interrupt handling */
 
Signature · 1 line
2.11.0