diff options
| author | Alex Hung <[email protected]> | 2024-06-18 16:19:48 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-01 16:06:53 -0400 |
| commit | ea79068d4073bf303f8203f2625af7d9185a1bc6 (patch) | |
| tree | 37f5c3cda8d8dd61bd9e50a0f4852f99ee956d69 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 116a678f3a9abc24f5c9d2525b7393d18d9eb58e (diff) | |
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 <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions