[Intel-gfx] [PATCH] i915: fix build error with -Werror

2016-07-18 Thread Jeff Mahoney
This fixes the following build error with -Werror and gcc 6.1: drivers/gpu/drm/i915/i915_debugfs.c:2103:6: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=parentheses] Signed-off-by: Jeff Mahoney --- drivers/gpu/drm/i915/i915_debugfs.c |3 ++- 1 file

Re: [Intel-gfx] [PATCH] i915: fix build error with -Werror

2016-07-18 Thread Jeff Mahoney
On 7/4/16 10:29 AM, Jeff Mahoney wrote: > This fixes the following build error with -Werror and gcc 6.1: > > drivers/gpu/drm/i915/i915_debugfs.c:2103:6: error: suggest explicit braces to > avoid ambiguous 'else' [-Werror=parentheses] Oops. It turns out my build test wa

[Intel-gfx] [PATCH v2] i915: fix build error with -Werror

2016-07-18 Thread Jeff Mahoney
This fixes the following build error with -Werror and gcc 6.1: drivers/gpu/drm/i915/i915_debugfs.c:2103:6: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=parentheses] Signed-off-by: Jeff Mahoney --- drivers/gpu/drm/i915/i915_debugfs.c |7 --- 1 file