Re: [PATCH v2 6/8] pinctrl: imx: scu: Align imx sc msg structs to 4
From: Linus Walleij <hidden>
Date: 2020-02-21 15:34:14
Also in:
linux-clk, linux-gpio, linux-rtc
From: Linus Walleij <hidden>
Date: 2020-02-21 15:34:14
Also in:
linux-clk, linux-gpio, linux-rtc
On Thu, Feb 20, 2020 at 5:29 PM Leonard Crestez [off-list ref] wrote:
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 <redacted>Patch applied for fixes. KASan needs to work. Thanks for fixing this! Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel