Re: [Intel-gfx] [PATCH 2/2] drm/i915: Remove -Wno-override-init

2017-10-15 Thread Chris Wilson
Quoting Michal Wajdeczko (2017-10-14 21:02:05) > On Sat, 14 Oct 2017 12:12:50 +0200, Chris Wilson > > diff --git a/drivers/gpu/drm/i915/Makefile > > b/drivers/gpu/drm/i915/Makefile > > index 52f0f8f101ec..e1bbb2565426 100644 > > --- a/drivers/gpu/drm/i915/Makefile > > +++ b/drivers/gpu/drm/i915

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Remove -Wno-override-init

2017-10-14 Thread Michal Wajdeczko
On Sat, 14 Oct 2017 12:12:50 +0200, Chris Wilson wrote: Mark up the locations where we are intentionally overriding initialization parameters for inheritance with a local pragma so that we can enable -Woverride-init globally and catch accidental mistakes. Signed-off-by: Chris Wilson Cc: Joo

[Intel-gfx] [PATCH 2/2] drm/i915: Remove -Wno-override-init

2017-10-14 Thread Chris Wilson
Mark up the locations where we are intentionally overriding initialization parameters for inheritance with a local pragma so that we can enable -Woverride-init globally and catch accidental mistakes. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Jani Nikula Cc: Daniel Vetter Cc: Tomi Sar