diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-06-18 16:19:48 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-01 16:06:53 -0400 |
| commit | ea79068d4073bf303f8203f2625af7d9185a1bc6 (patch) | |
| tree | 37f5c3cda8d8dd61bd9e50a0f4852f99ee956d69 /tools/perf/scripts/python/stackcollapse.py | |
| parent | drm/amd/display: Check denominator pbn_div before used (diff) | |
| download | linux-ea79068d4073bf303f8203f2625af7d9185a1bc6.tar.gz linux-ea79068d4073bf303f8203f2625af7d9185a1bc6.zip | |
drm/amd/display: Check denominator crb_pipes before used
[WHAT & HOW]
A denominator cannot be 0, and is checked before used.
This fixes 2 DIVIDE_BY_ZERO issues reported by Coverity.
Reviewed-by: Harry Wentland <harry.wentland@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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
