Skip to content
Commit 8400ab88 authored by Leonard Crestez's avatar Leonard Crestez Committed by Stephen Boyd
Browse files

clk: imx: Align imx sc clock parent 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: 666aed2d

 ("clk: imx: scu: add set parent support")
Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Link: https://lkml.kernel.org/r/aad021e432b3062c142973d09b766656eec18fde.1582216144.git.leonard.crestez@nxp.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent a0ae04a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment