diff options
| author | Alex Hung <[email protected]> | 2024-06-18 16:21:20 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-01 16:06:53 -0400 |
| commit | 116a678f3a9abc24f5c9d2525b7393d18d9eb58e (patch) | |
| tree | 5cdcafb0f72ce7a833f411fd48367183c85db6d1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cbe9d7c1d25ef6da67c9bf19eb02760632857f13 (diff) | |
drm/amd/display: Check denominator pbn_div before used
[WHAT & HOW]
A denominator cannot be 0, and is checked before used.
This fixes 1 DIVIDE_BY_ZERO issue 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