summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>2024-01-10 18:28:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-01-16 02:35:37 +0300
commit166225e79ccc3d02c4c46e1b3c09d03eb91473ca (patch)
tree2249a9a9106acd9c58388bacf5a4618b60a93861 /README
parent81d4b970684554dbd8faff90fbcd600b86847a68 (diff)
downloadlinux-166225e79ccc3d02c4c46e1b3c09d03eb91473ca.tar.xz
drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'
In link_set_dsc_pps_packet(), 'struct display_stream_compressor *dsc' was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the 'dsc' NULL pointer check. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check 'dsc' (see line 903) Cc: stable@vger.kernel.org Cc: Aurabindo Pillai <aurabindo.pillai@amd.com> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Cc: Hamza Mahfooz <hamza.mahfooz@amd.com> Cc: Wenjing Liu <wenjing.liu@amd.com> Cc: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions