aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-12-03 14:52:01 +0000
committerStephen Boyd <[email protected]>2018-12-03 17:54:48 +0000
commit9a43be9cedd516f188e6333d3b43402386723eff (patch)
treec0d18204a8241806ba758414beb67e6f840e7d4a /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentclk: mmp: Off by one in mmp_clk_add() (diff)
downloadkernel-9a43be9cedd516f188e6333d3b43402386723eff.tar.gz
kernel-9a43be9cedd516f188e6333d3b43402386723eff.zip
clk: zynqmp: Off by one in zynqmp_is_valid_clock()
The > comparison should be >= to prevent reading beyond the end of the clock[] array. (The clock[] array is allocated in zynqmp_clk_setup() and has clock_max_idx elements.) Fixes: 3fde0e16d016 ("drivers: clk: Add ZynqMP clock driver") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions