aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2021-04-19 18:41:17 +0200
committerMark Brown <broonie@kernel.org>2021-04-20 13:47:30 +0100
commitec1af6c64db94e4f24e53011a77b2bf2220ae000 (patch)
treebd2ec434df0717514d8fc8c03e07fa478067bb86 /include/sound
parentASoC: rt1015p: add support on format S32_LE (diff)
downloadlinux-dev-ec1af6c64db94e4f24e53011a77b2bf2220ae000.tar.xz
linux-dev-ec1af6c64db94e4f24e53011a77b2bf2220ae000.zip
ASoC: simple-card-utils: Allocate link info structure on heap
struct link_info can grow fairly large and may cause the stack frame size to be exceeded when allocated on the stack. Some architectures such as 32-bit ARM, RISC-V or PowerPC have small stack frames where this causes a compiler warning, so allocate these structures on the heap instead of the stack. Fixes: 343e55e71877 ("ASoC: simple-card-utils: Increase maximum number of links to 128") Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/20210419164117.1422242-1-thierry.reding@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions