[PATCH] sound: sof: ioc4-topology: avoid extra dai_params copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Arnd Bergmann <arnd@xxxxxxxx>

The snd_pcm_hw_params structure is really too large to fit on the
stack. Because of the way that clang inlines functions, it ends up
twice in one function, which exceeds the 1024 byte limit for 32-bit
architecutes:

sound/soc/sof/ipc4-topology.c:1700:1: error: stack frame size (1304) exceeds limit (1024) in 'sof_ipc4_prepare_copier_module' [-Werror,-Wframe-larger-than]
sof_ipc4_prepare_copier_module(struct snd_sof_widget *swidget,


[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux