Re: [PATCH] wcn36xx: use dynamic allocation for large variables

2019-09-03 Thread Kalle Valo
Arnd Bergmann wrote: > clang triggers a warning about oversized stack frames that gcc does not > notice because of slightly different inlining decisions: > > ath/wcn36xx/smd.c:1409:5: error: stack frame size of 1040 bytes in function > 'wcn36xx_smd_config_bss' [-Werror,-Wframe-larger-than=] > a

[PATCH] wcn36xx: use dynamic allocation for large variables

2019-07-22 Thread Arnd Bergmann
clang triggers a warning about oversized stack frames that gcc does not notice because of slightly different inlining decisions: ath/wcn36xx/smd.c:1409:5: error: stack frame size of 1040 bytes in function 'wcn36xx_smd_config_bss' [-Werror,-Wframe-larger-than=] ath/wcn36xx/smd.c:640:5: error: stac