diff options
| author | Alex Hung <[email protected]> | 2024-06-18 14:05:08 -0600 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:10 -0400 |
| commit | b995c0a6de6c74656a0c39cd57a0626351b13e3c (patch) | |
| tree | a0e66f00c50ae28192cc340a2719752fa72ae89d /tools/perf/scripts/python/parallel-perf.py | |
| parent | f60881ca126cf825b89b4118e93dbd82ea9bcf33 (diff) | |
drm/amd/display: Initialize denominators' default to 1
[WHAT & HOW]
Variables used as denominators and maybe not assigned to other values,
should not be 0. Change their default to 1 so they are never 0.
This fixes 10 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/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions