[PATCH for v4.8-rc6] drm/i915: fix pointer dereference in intel_dvo_init

2016-09-13 Thread Jani Nikula
On Mon, 12 Sep 2016, Stefan Christ wrote: > Loading the module i915 on my IBM Thinkpad X40 fails in the function > intel_dvo_init(). The function tries to cleanup the struct drm_encoder > that was never initialized. This happens when all intel_dvo_devices > failed to be probed in the for loop. The

[PATCH for v4.8-rc6] drm/i915: fix pointer dereference in intel_dvo_init

2016-09-12 Thread Stefan Christ
Loading the module i915 on my IBM Thinkpad X40 fails in the function intel_dvo_init(). The function tries to cleanup the struct drm_encoder that was never initialized. This happens when all intel_dvo_devices failed to be probed in the for loop. The backtrace was: BUG: unable to handle kernel N