xen/arm: mm: Remove ; at the end of mm_printk()

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>
This commit is contained in:
Julien Grall committed 2021-01-23 11:41:45 +00:00
1 parent d90390d031
commit bfe67a17d4
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ mm_printk(const char *fmt, ...) {}
{ \
dprintk(XENLOG_ERR, fmt, ## args); \
WARN(); \
} while (0);
} while (0)
#endif
/*
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.