2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/drivers/soc/imx
Leonard Crestez f10e58a5d2 soc: imx-scu: Align imx sc msg structs to 4
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>
2020-02-24 15:29:43 +08: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
Kconfig soc: imx: Enable compile testing of IMX_SCU_SOC 2020-01-09 17:20:10 +08:00
Makefile i.MX driver changes for 5.3: 2019-06-25 05:43:40 -07:00
soc-imx8.c soc: imx: Add i.MX8MP SoC driver support 2020-01-09 15:52:04 +08:00
soc-imx-scu.c soc: imx-scu: Align imx sc msg structs to 4 2020-02-24 15:29:43 +08:00