diff options
| author | Alex Hung <[email protected]> | 2024-06-27 17:34:18 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:11 -0400 |
| commit | 367cd9ceba1933b63bc1d87d967baf6d9fd241d2 (patch) | |
| tree | 7c5d2d83a23e660d72ad70b8c596771dc0f6a428 /tools/perf/scripts/python/task-analyzer.py | |
| parent | b995c0a6de6c74656a0c39cd57a0626351b13e3c (diff) | |
drm/amd/display: Check null-initialized variables
[WHAT & HOW]
drr_timing and subvp_pipe are initialized to null and they are not
always assigned new values. It is necessary to check for null before
dereferencing.
This fixes 2 FORWARD_NULL issues reported by Coverity.
Reviewed-by: Nevenko Stupar <[email protected]>
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions