diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2020-02-20 18:29:38 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-29 22:08:35 +0200 |
commit | a29de86521d8a80cb0b426638d4e38707cafa2e2 (patch) | |
tree | 9273b7975be0473703d4c9fccae4a6f0834fc69c /drivers/rtc/rtc-s3c.c | |
parent | 9c328c9dd84a10d4c96a5bfaa0bee43c94b11def (diff) |
rtc: imx-sc: 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: a3094fc1a15e ("rtc: imx-sc: add rtc alarm support")
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Link: https://lore.kernel.org/r/13404bac8360852d86c61fad5ae5f0c91ffc4cb6.1582216144.git.leonard.crestez@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
0 files changed, 0 insertions, 0 deletions