lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 18 Dec 2020 14:24:32 +0100
From:   "Enrico Weigelt, metux IT consult" <info@...ux.net>
To:     linux-kernel@...r.kernel.org
Cc:     tglx@...utronix.de
Subject: [PATCH] kernel: irq: irqdesc: comments on endif's

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

Signed-off-by: Enrico Weigelt, metux IT consult <info@...ux.net>
---
 kernel/irq/irqdesc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c
index e810eb9906ea..ed56e9c65866 100644
--- a/kernel/irq/irqdesc.c
+++ b/kernel/irq/irqdesc.c
@@ -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 */
 
-- 
2.11.0

Powered by blists - more mailing lists