Skip to content
Commit 135efc3a authored by Dan Carpenter's avatar Dan Carpenter Committed by Abel Vesa
Browse files

clk: imx: off by one in imx_lpcg_parse_clks_from_dt()



The > needs to be >= to prevent an off by one access.

Fixes: d5f1e6a2 ("clk: imx: imx8qxp-lpcg: add parsing clocks from device tree")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarAbel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20220228075014.GD13685@kili


Signed-off-by: default avatarAbel Vesa <abel.vesa@nxp.com>
parent 8cf0e06a
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