aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-06-08 04:09:53 +0000
committerAlex Deucher <[email protected]>2024-07-27 21:31:41 +0000
commit3f96f545f877ac59d0c967f52d760b4b2b3b9a47 (patch)
tree5bc8191c962fd318ef747ef9bbe0f6355ca3f822 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amd/display: Add option to disable unbounded req in DML21 (diff)
downloadkernel-3f96f545f877ac59d0c967f52d760b4b2b3b9a47.tar.gz
kernel-3f96f545f877ac59d0c967f52d760b4b2b3b9a47.zip
drm/amd/display: Fix possible overflow in integer multiplication
[WHAT & HOW] Integer multiplies integer may overflow in context that expects an expression of unsigned long long (64 bits). This can be fixed by casting integer to unsigned long long to force 64 bits results. This fixes 2 OVERFLOW_BEFORE_WIDEN issues reported by Coverity. Signed-off-by: Alex Hung <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions