summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-25 19:35:52 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:07:12 +0300
commitbe1fb44389ca3038ad2430dac4234669bc177ee3 (patch)
tree5648d7c80fd2f3764c40da4e447a505091603f34 /scripts
parent0beca868cde8742240cd0038141c30482d2b7eb8 (diff)
downloadlinux-be1fb44389ca3038ad2430dac4234669bc177ee3.tar.xz
drm/amd/display: Check null pointers before used
[WHAT & HOW] Poniters, such as dc->clk_mgr, are null checked previously in the same function, so Coverity warns "implies that "dc->clk_mgr" might be null". As a result, these pointers need to be checked when used again. This fixes 10 FORWARD_NULL issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Jerry Zuo <jerry.zuo@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions