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  linux-cve-announce  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]
Message-Id: <20201127193604.2873370-1-trix@redhat.com>
Date:   Fri, 27 Nov 2020 11:36:04 -0800
From:   trix@...hat.com
To:     peterz@...radead.org, mingo@...hat.com, will@...nel.org
Cc:     linux-kernel@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: [PATCH] locking/selftest: remove trailing semicolon in macro definition

From: Tom Rix <trix@...hat.com>

The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@...hat.com>
---
 lib/locking-selftest.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c
index a899b3f0e2e5..69b4a1160094 100644
--- a/lib/locking-selftest.c
+++ b/lib/locking-selftest.c
@@ -935,7 +935,7 @@ GENERATE_PERMUTATIONS_3_EVENTS(irqsafe3_soft_wlock)
 	LOCK(B);			\
 	UNLOCK(B);			\
 	UNLOCK(A);			\
-	IRQ_ENABLE();
+	IRQ_ENABLE()
 
 #define E2()				\
 	LOCK(B);			\
@@ -995,7 +995,7 @@ GENERATE_PERMUTATIONS_3_EVENTS(irqsafe4_soft_wlock)
 	LOCK(B);			\
 	UNLOCK(B);			\
 	WU(A);				\
-	IRQ_ENABLE();
+	IRQ_ENABLE()
 
 #define E2()				\
 					\
@@ -1170,7 +1170,7 @@ GENERATE_PERMUTATIONS_3_EVENTS(W1W2_R2R3_R3W1)
 	IRQ_DISABLE();			\
 	WL(A);				\
 	WU(A);				\
-	IRQ_ENABLE();
+	IRQ_ENABLE()
 
 #define E2()				\
 					\
@@ -1218,7 +1218,7 @@ GENERATE_PERMUTATIONS_3_EVENTS(irq_read_recursion_soft_wlock)
 	LOCK(A);			\
 	UNLOCK(A);			\
 	U(B);				\
-	IRQ_ENABLE();
+	IRQ_ENABLE()
 
 #define E2()				\
 					\
@@ -1272,7 +1272,7 @@ GENERATE_PERMUTATIONS_3_EVENTS(irq_read_recursion2_soft_wlock)
 	LOCK(A);			\
 	UNLOCK(A);			\
 	WU(B);				\
-	IRQ_ENABLE();
+	IRQ_ENABLE()
 
 #define E2()				\
 					\
-- 
2.18.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ