summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2017-01-20 16:28:45 +0200
committerAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2017-01-23 10:28:13 +0200
commit31bb2ef97ea9db343348f9b5ccaa9bb6f48fc655 (patch)
tree54820a6ebe4ac28f7c2ab08bba4c7321f06d9b47 /drivers/char/agp
parent46a1bd289507dfcc428fb9daf65421ed6be6af8b (diff)
downloadop-kernel-dev-31bb2ef97ea9db343348f9b5ccaa9bb6f48fc655.zip
op-kernel-dev-31bb2ef97ea9db343348f9b5ccaa9bb6f48fc655.tar.gz
drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic()
In intel_crtc_disable_noatomic(), bail on a failure to allocate an atomic state to avoid a NULL pointer dereference. Fixes: 4a80655827af ("drm/i915: Pass atomic state to crtc enable/disable functions") Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: intel-gfx@lists.freedesktop.org Cc: <stable@vger.kernel.org> # v4.9+ Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1484922525-6131-4-git-send-email-ander.conselvan.de.oliveira@intel.com
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud