mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-20 04:44:26 +08:00
1e6a4eba69
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:
BUG: KASAN: stack-out-of-bounds in imx_mu_send_data+0x108/0x1f0
It shouldn't cause an issues in normal use because these structs are
always allocated on the stack.
Fixes:
|
||
---|---|---|
.. | ||
imx-dsp.c | ||
imx-scu-irq.c | ||
imx-scu.c | ||
Kconfig | ||
Makefile | ||
misc.c | ||
scu-pd.c |