diff options
| author | 2024-06-18 16:21:20 -0600 | |
|---|---|---|
| committer | 2024-07-01 16:06:53 -0400 | |
| commit | 116a678f3a9abc24f5c9d2525b7393d18d9eb58e (patch) | |
| tree | 5cdcafb0f72ce7a833f411fd48367183c85db6d1 /scripts/Makefile.thinlto | |
| parent | drm/amd/display: Adjust cursor visibility between MPC slices (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 <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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
