Skip to content
Commit bea0b66e authored by Hangyu Hua's avatar Hangyu Hua Committed by Stephen Boyd
Browse files

clk: ux500: fix a possible off-by-one in u8500_prcc_reset_base()



Off-by-one will happen when index == ARRAY_SIZE(ur->base).

Fixes: b14cbdfd ("clk: ux500: Add driver for the reset portions of PRCC")
Signed-off-by: default avatarHangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20220518062537.17933-1-hbh25y@gmail.com


Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 639d5661
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment