Thanks to visit codestin.com
Credit goes to github.com

Skip to content

-Wframe-larger-than= in drivers/staging/greybus/audio_topology.c #1535

@nathanchance

Description

@nathanchance

With clang-11 and clang-12, I see the following error with x86_64 allmodconfig:

drivers/staging/greybus/audio_topology.c:977:12: error: stack frame size of 3304 bytes in function 'gbaudio_tplg_create_widget' [-Werror,-Wframe-larger-than=]
static int gbaudio_tplg_create_widget(struct gbaudio_module_info *module,
           ^
1 error generated.

@arndb sent a patch for this earlier this year that had some feedback but I never saw a follow up. I addressed the comments, verified the error was fixed, and sent a v2: https://lore.kernel.org/r/[email protected]/

Metadata

Metadata

Assignees

Labels

-Wframe-larger-than=CONFIG_WERRORHas in an error with CONFIG_WERROR (all{mod,yes}config) (or emits a non-compiler warning)Clean buildIssue needs to be fixed to get a warning-free all*config build[ARCH] arm64This bug impacts ARCH=arm64[ARCH] x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.[CONFIG] allmodconfigIssue affects allmodconfig on certain architectures[FIXED][LINUX] 5.17This bug was fixed in Linux 5.17

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions