diff options
author | Srinivasan Shanmugam <[email protected]> | 2024-01-10 20:58:35 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-18 16:29:32 -0500 |
commit | 3bb9b1f958c3d986ed90a3ff009f1e77e9553207 (patch) | |
tree | ce9fe2d8858a6fa37df83ce62a446826cc565647 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d7643fe6fb76edb1f2f1497bf5e8b8f4774b5129 (diff) |
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: [email protected]
Cc: Aurabindo Pillai <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Hamza Mahfooz <[email protected]>
Cc: Wenjing Liu <[email protected]>
Cc: Qingqing Zhuo <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions