summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorWayne Lin <wayne.lin@amd.com>2023-09-08 10:14:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:19:47 +0000
commitdf8bc953eed72371e43ca407bd063507f760cf89 (patch)
treec7880189a571f1111cadb07c8b619dba04bd3512 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent2a493a34bd6e496c55fabedd82b957193ace178f (diff)
drm/amd/display: Avoid NULL dereference of timing generator
[ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ] [Why & How] Check whether assigned timing generator is NULL or not before accessing its funcs to prevent NULL dereference. Reviewed-by: Jun Lei <jun.lei@amd.com> Acked-by: Hersen Wu <hersenxs.wu@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions