summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-07-16 14:58:06 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-07-27 17:35:38 -0400
commit6eb1fe53ee94cffd7187844d08d46ba8659d667a (patch)
tree12d94d414b6c56a200048f6836ee895ce9c9b4cc /tools/perf/scripts/python/stackcollapse.py
parentc3f15273721f2ee60d32fc7d4f2c233a1eff47a8 (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 <alex.hung@amd.com> Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions