|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH][XTF] properly parenthesize BUILD_BUG_ON()'s parameter use
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
--- a/include/xtf/lib.h
+++ b/include/xtf/lib.h
@@ -29,7 +29,7 @@ void __noreturn panic(const char *fmt, .
} while ( 0 )
#define BUILD_BUG_ON(cond) \
- _Static_assert(!cond, "!(" #cond ")")
+ _Static_assert(!(cond), "!(" #cond ")")
#define min(a, b) \
({ \
Attachment:
xtf-BBO-parens.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |