[Intel-gfx] [PATCH i-g-t 1/7] lib/ioctl_wrappers: make the valgrind wrapper always emit a statement:w
Daniel Vetter
daniel.vetter at ffwll.ch
Mon Sep 4 09:08:33 UTC 2017
gcc complains otherwise about empty ; statements ...
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
lib/ioctl_wrappers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index b4d6210d5942..48750427a0c1 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -60,7 +60,7 @@
#define VG(x) x
#else
-#define VG(x)
+#define VG(x) do {} while (0)
#endif
#include "ioctl_wrappers.h"
--
2.9.5
More information about the Intel-gfx
mailing list