On 6/16/22 14:45, Andrew Jones wrote:
+#define __GUEST_ASSERT(_condition, _condstr, _nargs, _args...) do {    \
+               if (!(_condition))                                      \
+                       ucall(UCALL_ABORT, GUEST_ASSERT_BUILTIN_NARGS + _nargs, 
\
+                             "Failed guest assert: " _condstr,               \
+                             __FILE__,                                 \
+                             __LINE__,                                 \
+                             ##_args);                                 \
We don't need another level of indentation nor the ## operator on _args.


The ## is needed to drop the comma if there are no _args.

Paolo

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to