[Intel-gfx] [PATCH] drm/i915: fix possible NULL dereference of dev_priv

Daniel Vetter daniel at ffwll.ch
Mon Nov 26 19:52:19 CET 2012


On Mon, Nov 12, 2012 at 02:20:19PM +0200, Mika Kuoppala wrote:
> Dereference dev_priv only after we know it is valid.
> Found with smatch.
> 
> Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list