[PULL] drm-intel-next-fixes
Dave Airlie
airlied at gmail.com
Thu Jun 18 20:48:13 PDT 2015
On 18 June 2015 at 16:04, Jani Nikula <jani.nikula at intel.com> wrote:
>
> Hi Dave, i915 fixes for drm-next/v4.2.
>
> BR,
> Jani.
And my gcc says:
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/i915/intel_display.c:
In function ‘__intel_set_mode’:
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/i915/intel_display.c:11850:14:
warning: ‘crtc_state’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
return state->mode_changed || state->active_changed;
^
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/i915/intel_display.c:11860:25:
note: ‘crtc_state’ was declared here
struct drm_crtc_state *crtc_state;
^
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/i915/intel_display.c:11874:6:
warning: ‘crtc’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
if (crtc != intel_encoder->base.crtc)
^
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/i915/intel_display.c:11859:19:
note: ‘crtc’ was declared here
struct drm_crtc *crtc;
^
No idea if this is true, but I don't think I've seen it before now.
gcc 5.1.1 on fedora 22
Dave.
More information about the dri-devel
mailing list