From: Josh Triplett Date: Mon, 7 Apr 2014 22:39:11 +0000 (-0700) Subject: include/asm-generic/bug.h: style fix: s/while(0)/while (0)/ X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3f7607d09e28520ad6d86ea423051605f7d4c6f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git include/asm-generic/bug.h: style fix: s/while(0)/while (0)/ Signed-off-by: Josh Triplett Reported-by: Randy Dunlap Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 7ecd398aebf0..2d54d8df7bd1 100644 --- a/include/asm-generic/bug.h +++ b/include/asm-generic/bug.h @@ -52,7 +52,7 @@ struct bug_entry { #endif #ifndef HAVE_ARCH_BUG_ON -#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) +#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) #endif /* @@ -138,11 +138,11 @@ extern void warn_slowpath_null(const char *file, const int line); #else /* !CONFIG_BUG */ #ifndef HAVE_ARCH_BUG -#define BUG() do {} while(0) +#define BUG() do {} while (0) #endif #ifndef HAVE_ARCH_BUG_ON -#define BUG_ON(condition) do { if (condition) ; } while(0) +#define BUG_ON(condition) do { if (condition) ; } while (0) #endif #ifndef HAVE_ARCH_WARN_ON