linux/drivers/soc/imx
Dan Carpenter 72949f7656 soc: imx: imx8m-blk-ctrl: off by one in imx8m_blk_ctrl_xlate()
The > comparison should be >= to prevent reading one element beyond the
end of the array.  The onecell_data->domains[] array is allocated in
imx8m_blk_ctrl_probe() and it has "onecell_data->num_domains" elements.

Fixes: 5b340e7813d4 ("soc: imx: add i.MX8M blk-ctrl driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-10-15 11:10:05 +08:00
..
gpc.c soc: imx: gpc: fix power up sequencing 2020-03-16 11:39:02 +08:00
gpcv2.c soc: imx: gpcv2: support system suspend/resume 2021-10-06 20:13:45 +08:00
imx8m-blk-ctrl.c soc: imx: imx8m-blk-ctrl: off by one in imx8m_blk_ctrl_xlate() 2021-10-15 11:10:05 +08:00
Kconfig imx: soc: Select REGMAP_MMIO 2021-10-05 13:54:44 +08:00
Makefile soc: imx: add i.MX8M blk-ctrl driver 2021-10-06 20:13:47 +08:00
soc-imx8m.c Revert "soc: imx8m: change to use platform driver" 2021-07-15 19:02:44 +08:00
soc-imx.c ARM: imx: Initialize SoC ID on i.MX50 2021-05-13 15:42:21 +08:00