clk: imx: Align imx sc clock 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: fe37b482 ("clk: imx: add scu clock common part") Signed-off-by: NLeonard Crestez <leonard.crestez@nxp.com> Link: https://lkml.kernel.org/r/10e97a04980d933b2cfecb6b124bf9046b6e4f16.1582216144.git.leonard.crestez@nxp.comSigned-off-by: NStephen Boyd <sboyd@kernel.org>
Showing
想要评论请 注册 或 登录