Re: [Intel-gfx] [PATCH i-g-t v2 8/9] lib/igt_kms: Add more braces around macros

2018-01-15 Thread Mika Kahola
On Fri, 2018-01-12 at 11:21 +0100, Maarten Lankhorst wrote: > The next patch wants to call for_each_pipe_with_valid_output > with *pipe and *output, this fails miserably without these braces. > Reviewed-by: Mika Kahola > Signed-off-by: Maarten Lankhorst > --- >  lib/igt_kms.h | 16

[Intel-gfx] [PATCH i-g-t v2 8/9] lib/igt_kms: Add more braces around macros

2018-01-12 Thread Maarten Lankhorst
The next patch wants to call for_each_pipe_with_valid_output with *pipe and *output, this fails miserably without these braces. Signed-off-by: Maarten Lankhorst --- lib/igt_kms.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/igt_kms.h b/lib/igt_kms.h in