Commit 4c5a7705 authored by Joe Perches's avatar Joe Perches Committed by Richard Weinberger

um: Neaten vu_err macro definition

Defining a macro with ... and __VA_ARGS__ (without ##) can cause
compilation errors if a macro use does not have additional args.

Add ## to __VA_ARGS__ in the macro definition.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent bc8f8e4e
......@@ -74,7 +74,7 @@ struct virtio_uml_vq_info {
extern unsigned long long physmem_size, highmem;
#define vu_err(vu_dev, ...) dev_err(&(vu_dev)->pdev->dev, __VA_ARGS__)
#define vu_err(vu_dev, ...) dev_err(&(vu_dev)->pdev->dev, ##__VA_ARGS__)
/* Vhost-user protocol */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment