summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-18 23:05:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-07-24 00:07:10 +0300
commitb995c0a6de6c74656a0c39cd57a0626351b13e3c (patch)
treea0e66f00c50ae28192cc340a2719752fa72ae89d /scripts/git.orderFile
parentf60881ca126cf825b89b4118e93dbd82ea9bcf33 (diff)
downloadlinux-b995c0a6de6c74656a0c39cd57a0626351b13e3c.tar.xz
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 <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/git.orderFile')
0 files changed, 0 insertions, 0 deletions