1
0
Fork 0
alistair23-linux/drivers/soc/imx
Leonard Crestez 80ccc2588f soc: imx-scu: Align imx sc msg structs to 4
commit f10e58a5d2 upstream.

The imx SC api strongly assumes that messages are composed out of
4-bytes words but some of our message structs have odd sizeofs.

This produces many oopses with CONFIG_KASAN=y.

Fix by marking with __aligned(4).

Fixes: 73feb4d0f8 ("soc: imx-scu: Add SoC UID(unique identifier) support")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 13:00:28 +01:00
..
Kconfig i.MX driver changes for 5.3: 2019-06-25 05:43:40 -07:00
Makefile i.MX driver changes for 5.3: 2019-06-25 05:43:40 -07:00
gpc.c soc: imx: gpc: fix initialiser format 2019-10-26 19:47:31 +08:00
gpcv2.c soc: imx: gpcv2: Print the correct error code 2019-08-24 22:41:08 +02:00
soc-imx-scu.c soc: imx-scu: Align imx sc msg structs to 4 2020-03-12 13:00:28 +01:00
soc-imx8.c soc: imx8: Add i.MX8MM UID(unique identifier) support 2019-07-22 09:36:48 +08:00