mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 14:37:56 +07: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 |