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: <1383687018.4387.48.camel@joe-AO722>
Date:	Tue, 05 Nov 2013 13:30:18 -0800
From:	Joe Perches <joe@...ches.com>
To:	Al Viro <viro@...IV.linux.org.uk>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] signal/compat: save_altstack: Remove unnecessary semicolon

do { foo } while (0) macros don't need
a trailing semicolon.  Remove them.

Signed-off-by: Joe Perches <joe@...ches.com>
---
 include/linux/compat.h | 2 +-
 include/linux/signal.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/compat.h b/include/linux/compat.h
index 345da00..30c3a85 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -676,7 +676,7 @@ int __compat_save_altstack(compat_stack_t __user *, unsigned long);
 	put_user_ex(ptr_to_compat((void __user *)t->sas_ss_sp), &__uss->ss_sp); \
 	put_user_ex(sas_ss_flags(sp), &__uss->ss_flags); \
 	put_user_ex(t->sas_ss_size, &__uss->ss_size); \
-} while (0);
+} while (0)
 
 asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid,
 						 struct compat_timespec __user *interval);
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 2ac423b..ad934f6 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -440,7 +440,7 @@ int __save_altstack(stack_t __user *, unsigned long);
 	put_user_ex((void __user *)t->sas_ss_sp, &__uss->ss_sp); \
 	put_user_ex(sas_ss_flags(sp), &__uss->ss_flags); \
 	put_user_ex(t->sas_ss_size, &__uss->ss_size); \
-} while (0);
+} while (0)
 
 #ifdef CONFIG_PROC_FS
 struct seq_file;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ