summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-18 16:21:20 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-07-01 16:06:53 -0400
commit116a678f3a9abc24f5c9d2525b7393d18d9eb58e (patch)
tree5cdcafb0f72ce7a833f411fd48367183c85db6d1 /drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
parentcbe9d7c1d25ef6da67c9bf19eb02760632857f13 (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 'drivers/gpu/drm/amd/amdkfd/kfd_migrate.c')
0 files changed, 0 insertions, 0 deletions