diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2020-02-20 19:29:37 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-02-21 18:33:27 +0300 |
commit | 4c48e549f39f8ed10cf8a0b6cb96f5eddf0391ce (patch) | |
tree | a79b5f16952f34605f661536ee6f942896501a7b /drivers/pinctrl/spear | |
parent | dc7a06b0dbbafac8623c2b7657e61362f2f479a7 (diff) | |
download | linux-4c48e549f39f8ed10cf8a0b6cb96f5eddf0391ce.tar.xz |
pinctrl: 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: b96eea718bf6 ("pinctrl: fsl: add scu based pinctrl support")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Link: https://lore.kernel.org/r/bd7ad5fd755739a6d8d5f4f65e03b3ca4f457bd2.1582216144.git.leonard.crestez@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear')
0 files changed, 0 insertions, 0 deletions