diff options
| author | Alex Hung <[email protected]> | 2024-06-25 10:37:35 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:12 -0400 |
| commit | fdd5ecbbff751c3b9061d8ebb08e5c96119915b4 (patch) | |
| tree | 34be32742c9c22333cdfa5484ca8e6c31c4afce8 /tools/perf/scripts/python | |
| parent | be1fb44389ca3038ad2430dac4234669bc177ee3 (diff) | |
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 <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions