Searched hist:bef2897d31b97852d80b38e9376ed5ef3a90b309 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-topology.c | diff bef2897d31b97852d80b38e9376ed5ef3a90b309 Sun Mar 14 20:39:08 CDT 2021 Nick Desaulniers <nick.desaulniers@gmail.com> ASoC: Intel: Skylake: skl-topology: fix -frame-larger-than
sound/soc/intel/skylake/skl-topology.c:3613:13: warning: stack frame size of 1304 bytes in function 'skl_tplg_complete' [-Wframe-larger-than=]
struct snd_ctl_elem_value is 1224 bytes in my configuration.
Heap allocate it, then free it within the current frame.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com> Link: https://lore.kernel.org/r/20210315013908.217219-1-nick.desaulniers@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
|