aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorJesse Zhang <[email protected]>2024-05-29 09:29:01 +0000
committerAlex Deucher <[email protected]>2024-06-05 14:58:36 +0000
commitc09d2eff81a997c169e0cacacd6b60c5e3aa33f2 (patch)
tree031ce40e6ac513d4fcd18330e77db880bd21873b /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amdgpu: Update programming for boot error reporting (diff)
downloadkernel-c09d2eff81a997c169e0cacacd6b60c5e3aa33f2.tar.gz
kernel-c09d2eff81a997c169e0cacacd6b60c5e3aa33f2.zip
drm/amdgu: fix Unintentional integer overflow for mall size
Potentially overflowing expression mall_size_per_umc * adev->gmc.num_umc with type unsigned int (32 bits, unsigned) is evaluated using 32-bit arithmetic,and then used in a context that expects an expression of type u64 (64 bits, unsigned). Signed-off-by: Jesse Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions