include/asm-generic/bug.h: style fix: s/while(0)/while (0)/
authorJosh Triplett <[email protected]>
Mon, 7 Apr 2014 22:39:11 +0000 (15:39 -0700)
committerLinus Torvalds <[email protected]>
Mon, 7 Apr 2014 23:36:10 +0000 (16:36 -0700)
Signed-off-by: Josh Triplett <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/asm-generic/bug.h

index 7ecd398aebf00758c9b3b667a7ba16c7be0dd6e7..2d54d8df7bd1896eef1b5d30f20beff323884cf3 100644 (file)
@@ -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