drm/i915: fix possible NULL dereference of dev_priv
Dereference dev_priv only after we know it is valid. Found with smatch. Signed-off-by: NMika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Showing
想要评论请 注册 或 登录