diff options
author | Josh Triplett <josh@joshtriplett.org> | 2014-04-07 15:39:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 16:36:10 -0700 |
commit | a3f7607d09e28520ad6d86ea423051605f7d4c6f (patch) | |
tree | 07bd39b8e4835b452a76436bb8bda9c2c72bc6ae /include/asm-generic | |
parent | b607e70ec6a982fb4e69c4949b5ec57341cf0d94 (diff) | |
download | linux-a3f7607d09e28520ad6d86ea423051605f7d4c6f.tar.gz linux-a3f7607d09e28520ad6d86ea423051605f7d4c6f.tar.bz2 linux-a3f7607d09e28520ad6d86ea423051605f7d4c6f.zip |
include/asm-generic/bug.h: style fix: s/while(0)/while (0)/
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/bug.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |