Searched hist:"135 efc3a76d127691afaf1864e4ab627bf09d53d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-imx8qxp-lpcg.c | diff 135efc3a76d127691afaf1864e4ab627bf09d53d Mon Feb 28 01:50:14 CST 2022 Dan Carpenter <dan.carpenter@oracle.com> clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
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>
|