[Intel-gfx] [PATCH] drm/i915: set FDI translations to NULL on SKL

Daniel Vetter daniel at ffwll.ch
Mon Jul 6 05:40:40 PDT 2015


On Mon, Jul 06, 2015 at 01:47:44PM +0300, David Weinehall wrote:
> On Fri, Jul 03, 2015 at 12:31:30PM -0300, Paulo Zanoni wrote:
> > From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> > 
> > drivers/gpu/drm/i915/intel_ddi.c: In function ‘intel_prepare_ddi’:
> > drivers/gpu/drm/i915/intel_ddi.c:517:6: warning:
> > ‘ddi_translations_fdi’ may be used uninitialized in this function
> > [-Wmaybe-uninitialized]
> >    if (ddi_translations_fdi)
> >       ^
> > drivers/gpu/drm/i915/intel_ddi.c:446:30: note: ‘ddi_translations_fdi’
> > was declared here
> >   const struct ddi_buf_trans *ddi_translations_fdi;
> 
> Thanks for noticing!  Weird -- and embarassing -- that I missed this :S

Create a personal public git repo somewhere, tell the 0-day folks about it
and just wait a few hours before hitting send. You _will_ reliable get
reports about this stuff before I get them when I apply the patch ;-)
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list