We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b607e70 commit a3f7607Copy full SHA for a3f7607
include/asm-generic/bug.h
@@ -52,7 +52,7 @@ struct bug_entry {
52
#endif
53
54
#ifndef HAVE_ARCH_BUG_ON
55
-#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0)
+#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
56
57
58
/*
@@ -138,11 +138,11 @@ extern void warn_slowpath_null(const char *file, const int line);
138
139
#else /* !CONFIG_BUG */
140
#ifndef HAVE_ARCH_BUG
141
-#define BUG() do {} while(0)
+#define BUG() do {} while (0)
142
143
144
145
-#define BUG_ON(condition) do { if (condition) ; } while(0)
+#define BUG_ON(condition) do { if (condition) ; } while (0)
146
147
148
#ifndef HAVE_ARCH_WARN_ON
0 commit comments