The ; at the end of mm_printk() means the following code will not build
correctly:
if ( ... )
mm_printk(...);
else
...
As we treat the macro as a function, we want to remove the ; at the end
of it.
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
(cherry picked from commit
bfe67a17d4df2efbedaaf5cfbadc8a8627debf5c)
{ \
dprintk(XENLOG_ERR, fmt, ## args); \
WARN(); \
- } while (0);
+ } while (0)
#endif
/*