diff options
| author | Leonard Crestez <leonard.crestez@nxp.com> | 2020-02-20 18:29:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-02 15:11:01 +0200 |
| commit | 4a3c7e1c807f77bd865f584635aeeed36415e04f (patch) | |
| tree | ef7c9a56272345cb6e2c6b098cd6f433a3905ccf /include/linux/syscalls.h | |
| parent | 08479b1391cb6a30b64d63d3aad2f7c85af6b605 (diff) | |
clk: imx: Align imx sc clock msg structs to 4
commit a0ae04a25650fd51b7106e742d27333e502173c6 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: fe37b4820417 ("clk: imx: add scu clock common part")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Link: https://lkml.kernel.org/r/10e97a04980d933b2cfecb6b124bf9046b6e4f16.1582216144.git.leonard.crestez@nxp.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/syscalls.h')
0 files changed, 0 insertions, 0 deletions
