aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
diff options
context:
space:
mode:
authorSung-huai Wang <danny.wang@amd.com>2023-06-06 14:28:38 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-23 15:40:40 -0400
commit0f48a4b83610cb0e4e0bc487800ab69f51b4aca6 (patch)
tree00cfda4acde2d68246d659cc05b788cdbcc3e0ee /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
parenta99a4ff6ef205d125002fc7e0857074e4e6597b6 (diff)
downloadlinux-0f48a4b83610cb0e4e0bc487800ab69f51b4aca6.tar.gz
linux-0f48a4b83610cb0e4e0bc487800ab69f51b4aca6.tar.bz2
linux-0f48a4b83610cb0e4e0bc487800ab69f51b4aca6.zip
drm/amd/display: add a NULL pointer check
[Why & How] We have to check if stream is properly initialized before calling find_matching_pll(), otherwise we might end up trying to deferecence a NULL pointer. Cc: stable@vger.kernel.org # 6.1+ Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Sung-huai Wang <danny.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions