]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix force-probe failure message
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Feb 2020 13:50:48 +0000 (13:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Feb 2020 17:12:21 +0000 (17:12 +0000)
commit71b7cc601ea7f3ffd95e88f7386e9da8c753a9c8
tree94c014e58d207b14acb225a00e295937d03fa91e
parent9adcf0db237c7db6cadc83a8ed8cbc5a4bf8623b
drm/i915: Fix force-probe failure message

Do not try and dereference the i915 private before it has been allocated
and attached to the drvdata!

Fixes: 7daac72e9a3f ("drm/i915/pci: conversion to drm_device based logging macros.")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Wambui Karuga <wambui.karugax@gmail.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207135048.2788199-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pci.c