Re: [PATCH 3/4] staging: rtl8712: reduce stack usage, again

2019-06-28 Thread Willem de Bruijn
On Fri, Jun 28, 2019 at 8:41 AM Arnd Bergmann wrote: > > An earlier patch I sent reduced the stack usage enough to get > below the warning limit, and I could show this was safe, but with > GCC_PLUGIN_STRUCTLEAK_BYREF_ALL, it gets worse again because large stack > variables in the same function no

[PATCH 3/4] staging: rtl8712: reduce stack usage, again

2019-06-28 Thread Arnd Bergmann
An earlier patch I sent reduced the stack usage enough to get below the warning limit, and I could show this was safe, but with GCC_PLUGIN_STRUCTLEAK_BYREF_ALL, it gets worse again because large stack variables in the same function no longer overlap: drivers/staging/rtl8712/rtl871x_ioctl_linux.c: