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

Jani Nikula jani.nikula at linux.intel.com
Tue Sep 13 08:38:24 UTC 2016


On Mon, 12 Sep 2016, Stefan Christ <contact at stefanchrist.eu> 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 backtrace was:

This is already fixed by

commit 8a07fed44b126f48020f122b9e6bf05d8c48f281
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Aug 23 10:25:58 2016 +0100

    drm/i915/dvo: Remove dangling call to drm_encoder_cleanup()

in drm-intel-fixes and drm-fixes, headed to v4.8-rc7.

Thanks,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the dri-devel mailing list