Dan Carpenter 4b8a71f206 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
[ Upstream commit 135efc3a76d127691afaf1864e4ab627bf09d53d ]

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

Fixes: d5f1e6a2bb61 ("clk: imx: imx8qxp-lpcg: add parsing clocks from device tree")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20220228075014.GD13685@kili
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:23:47 +02:00
..
2020-08-22 20:36:57 +08:00
2020-09-07 11:08:50 +08:00
2020-09-07 11:08:50 +08:00
2020-09-07 11:08:50 +08:00
2020-08-23 10:08:35 +08:00