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]
Date:   Sat, 18 Feb 2017 13:01:37 +0800
From:   colyli@...e.de
To:     linux-kernel@...r.kernel.org
Cc:     Coly Li <colyli@...e.de>, Jiri Kosina <jkosina@...e.cz>
Subject: [PATCH] tiny: remove a redundant semicolon in wait.h

In the end of macro wait_event_interruptible_lock_irq_timeout(), there is
a semicolon, and at the location where this macro is referenced by macro
wait_event_interruptible_lock_irq_timeout(), there is another semicolon,
then we have two semicolon at end of a line. 

Redundant semicolons here doesn't hurt, just remove it as a really tiny
fix.

Signed-off-by: Coly Li <colyli@...e.de>
Cc: Jiri Kosina <jkosina@...e.cz>
---
 include/linux/wait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/wait.h b/include/linux/wait.h
index 1421132..7b318cd 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -938,7 +938,7 @@ do {									\
 		      TASK_INTERRUPTIBLE, 0, timeout,			\
 		      spin_unlock_irq(&lock);				\
 		      __ret = schedule_timeout(__ret);			\
-		      spin_lock_irq(&lock));
+		      spin_lock_irq(&lock))
 
 /**
  * wait_event_interruptible_lock_irq_timeout - sleep until a condition gets
-- 
2.6.6

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ