summaryrefslogtreecommitdiffstats
path: root/include/linux/psp-sev.h
diff options
context:
space:
mode:
authorHarry Wentland2019-02-07 21:12:35 +0100
committerAlex Deucher2019-02-07 23:22:12 +0100
commit0461221316ec21e0a535a35fba3feb6ba75706e6 (patch)
tree68224e9fb3786fd302e8710063ac81e2811175ec /include/linux/psp-sev.h
parentdrm/amdgpu: fix NULL ptr dref in the VM code (diff)
downloadkernel-qcow2-linux-0461221316ec21e0a535a35fba3feb6ba75706e6.tar.gz
kernel-qcow2-linux-0461221316ec21e0a535a35fba3feb6ba75706e6.tar.xz
kernel-qcow2-linux-0461221316ec21e0a535a35fba3feb6ba75706e6.zip
drm/amd/display: Check hpd_gpio for NULL before accessing it
dal_gpio_open and dal_gpio_unlock_pin dereference hpd_gpio. Check for NULL before calling those functions. Fixes: ac627caf6b9275a ("drm/amd/display: add gpio lock/unlock") Reported-by: Przemek Socha <soprwa@gmail.com> CC: Chiawen Huang <chiawen.huang@amd.com> CC: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/psp-sev.h')
0 files changed, 0 insertions, 0 deletions