|
@@ -52,7 +52,7 @@ struct bug_entry {
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_ARCH_BUG_ON
|
|
#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
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -138,11 +138,11 @@ extern void warn_slowpath_null(const char *file, const int line);
|
|
|
|
|
|
|
|
#else /* !CONFIG_BUG */
|
|
#else /* !CONFIG_BUG */
|
|
|
#ifndef HAVE_ARCH_BUG
|
|
#ifndef HAVE_ARCH_BUG
|
|
|
-#define BUG() do {} while(0)
|
|
|
|
|
|
|
+#define BUG() do {} while (0)
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_ARCH_BUG_ON
|
|
#ifndef HAVE_ARCH_BUG_ON
|
|
|
-#define BUG_ON(condition) do { if (condition) ; } while(0)
|
|
|
|
|
|
|
+#define BUG_ON(condition) do { if (condition) ; } while (0)
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_ARCH_WARN_ON
|
|
#ifndef HAVE_ARCH_WARN_ON
|