[PATCH] staging: rtl8723bs: reduce stack usage of rtw_cfg80211_unlink_bss

Dan Carpenter dan.carpenter at oracle.com
Fri Oct 18 11:30:17 UTC 2019


On Fri, Oct 18, 2019 at 11:48:37AM +0100, Sudip Mukherjee wrote:
> The build of xtensa allmodconfig gives warning of:
> In function 'rtw_cfg80211_unlink_bss':
> warning: the frame size of 1136 bytes is larger than 1024 bytes
> 
> Instead of having 'select_network' structure as a variable use it as a
> pointer.
> 
> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee at gmail.com>

Heh.  Nice.

Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>

regards,
dan carpenter



More information about the devel mailing list