From: Ville Syrjälä Date: Fri, 7 Nov 2014 09:16:01 +0000 (+0200) Subject: drm/i915: Don't deref NULL crtc in intel_get_pipe_from_connector() X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~14^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3babd3fcd92f345ab3c627ad6bfa1463de52ba2;p=pandora-kernel.git drm/i915: Don't deref NULL crtc in intel_get_pipe_from_connector() If the connector would have an encoder but the encoder didn't have a crtc we might dereference a NULL crtc here. I suppose that should never happen due to intel_sanitize_encoder(), but let's be a bit paranoid print a warning if we ever hit this and return INVALID_PIPE to the caller. Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed