aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-10-10 13:35:28 +0000
committerStephen Boyd <[email protected]>2023-10-13 00:30:54 +0000
commit790437bbe0ef7e5cb5d091dd711c0d61d03945a5 (patch)
tree5c0feed518494c724e4ec58b3f26717d327570a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentclk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_paren... (diff)
downloadkernel-790437bbe0ef7e5cb5d091dd711c0d61d03945a5.tar.gz
kernel-790437bbe0ef7e5cb5d091dd711c0d61d03945a5.zip
clk: stm32: Fix a signedness issue in clk_stm32_composite_determine_rate()
The divider_ro_round_rate() function could potentially return -EINVAL on error but the error handling doesn't work because "rate" is unsigned. It should be a type long. Fixes: 06ed0fc0fbac ("clk: stm32: composite: Switch to determine_rate") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions