[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
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.