mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
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:1e866f1fe5("drm/amd/pm: Prevent divide by zero") Signed-off-by: Denis Arefev <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commitda7dc714a8) Cc: [email protected]