aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
diff options
context:
space:
mode:
authorDenis Arefev <[email protected]>2025-03-20 09:35:02 +0000
committerAlex Deucher <[email protected]>2025-04-08 20:48:13 +0000
commitda7dc714a8f8e1c9fc33c57cd63583779a3bef71 (patch)
tree906965c62197a8c40abbcd9d11b31f6963b0e186 /drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c
parentdrm/amdgpu: cancel gfx idle work in device suspend for s0ix (diff)
downloadkernel-da7dc714a8f8e1c9fc33c57cd63583779a3bef71.tar.gz
kernel-da7dc714a8f8e1c9fc33c57cd63583779a3bef71.zip
drm/amd/pm/smu11: Prevent division by zero
The user can set any speed value. If speed is greater than UINT_MAX/8, division by zero is possible. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 1e866f1fe528 ("drm/amd/pm: Prevent divide by zero") Signed-off-by: Denis Arefev <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c')
0 files changed, 0 insertions, 0 deletions