Re: [PATCH v2 8/8] soc: imx-scu: Align imx sc msg structs to 4
From: Shawn Guo <shawnguo@kernel.org>
Date: 2020-02-24 07:30:12
Also in:
linux-clk, linux-gpio, linux-rtc
From: Shawn Guo <shawnguo@kernel.org>
Date: 2020-02-24 07:30:12
Also in:
linux-clk, linux-gpio, linux-rtc
On Thu, Feb 20, 2020 at 06:29:39PM +0200, Leonard Crestez 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: 73feb4d0f8f1 ("soc: imx-scu: Add SoC UID(unique identifier) support")
Signed-off-by: Leonard Crestez <redacted>Applied, thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel