Skip to content
Commit 4c48e549 authored by Leonard Crestez's avatar Leonard Crestez Committed by Linus Walleij
Browse files

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: b96eea71 ("pinctrl: fsl: add scu based pinctrl support")
Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Link: https://lore.kernel.org/r/bd7ad5fd755739a6d8d5f4f65e03b3ca4f457bd2.1582216144.git.leonard.crestez@nxp.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent dc7a06b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment