summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-25 19:37:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:07:12 +0300
commitfdd5ecbbff751c3b9061d8ebb08e5c96119915b4 (patch)
tree34be32742c9c22333cdfa5484ca8e6c31c4afce8 /scripts/git.orderFile
parentbe1fb44389ca3038ad2430dac4234669bc177ee3 (diff)
downloadlinux-fdd5ecbbff751c3b9061d8ebb08e5c96119915b4.tar.xz
drm/amd/display: Check null pointers before multiple uses
[WHAT & HOW] Poniters, such as stream_enc and dc->bw_vbios, are null checked previously in the same function, so Coverity warns "implies that stream_enc and dc->bw_vbios might be null". They are used multiple times in the subsequent code and need to be checked. 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/git.orderFile')
0 files changed, 0 insertions, 0 deletions