Home
last modified time | relevance | path

Searched hist:bef2897d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-topology.cbef2897d 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>