Re: [PATCH v3] ASoC: Intel: Skylake: skl-topology: fix -frame-larger-than

2021-03-18 Thread Mark Brown
On Sun, 14 Mar 2021 18:39:08 -0700, Nick Desaulniers wrote: > Fixes: > 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. > > [...]

Re: [PATCH v3] ASoC: Intel: Skylake: skl-topology: fix -frame-larger-than

2021-03-18 Thread Mark Brown
On Sun, Mar 14, 2021 at 06:39:08PM -0700, Nick Desaulniers wrote: > Fixes: > sound/soc/intel/skylake/skl-topology.c:3613:13: warning: stack frame > size of 1304 bytes in function 'skl_tplg_complete' > [-Wframe-larger-than=] Changelogs like this look like Fixes: tags and confuse tools which

[PATCH v3] ASoC: Intel: Skylake: skl-topology: fix -frame-larger-than

2021-03-14 Thread Nick Desaulniers
Fixes: 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