summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/syscall_user_dispatch/sud_test.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-06-10 11:30:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-15 12:16:15 +0200
commitdb7cd2e4f8738a211c5a44337c9d674cd7ed3bbb (patch)
treee3b958d9f14a6adb7afe5abdcc64338004f2eb65 /tools/testing/selftests/syscall_user_dispatch/sud_test.c
parentb20e040baaa028b21871bdccb9e3e7069e51c81e (diff)
ASoC: ops: dynamically allocate struct snd_ctl_elem_value
[ Upstream commit 7e10d7242ea8a5947878880b912ffa5806520705 ] This structure is really too larget to be allocated on the stack: sound/soc/soc-ops.c:435:5: error: stack frame size (1296) exceeds limit (1280) in 'snd_soc_limit_volume' [-Werror,-Wframe-larger-than] Change the function to dynamically allocate it instead. There is probably a better way to do it since only two integer fields inside of that structure are actually used, but this is the simplest rework for the moment. Fixes: 783db6851c18 ("ASoC: ops: Enforce platform maximum on initial value") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20250610093057.2643233-1-arnd@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing/selftests/syscall_user_dispatch/sud_test.c')
0 files changed, 0 insertions, 0 deletions