diff options
| author | Alex Hung <[email protected]> | 2024-07-16 14:58:06 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-27 17:35:38 -0400 |
| commit | 6eb1fe53ee94cffd7187844d08d46ba8659d667a (patch) | |
| tree | 12d94d414b6c56a200048f6836ee895ce9c9b4cc /tools/perf/scripts/python/task-analyzer.py | |
| parent | c3f15273721f2ee60d32fc7d4f2c233a1eff47a8 (diff) | |
drm/amd/display: Check null values from functions
Functions get_per_method_common_meta and get_expanded_strategy_list can
return null and thus it is necessary to check their returned values
before dereferencing.
This fixes 3 NULL_RETURNS issues reported by Coverity.
Signed-off-by: Alex Hung <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Rodrigo Siqueira <[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