diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-07-10 16:05:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-16 08:41:02 +0200 |
| commit | 4596351d80b44842d3a57f54ba50511394fa7666 (patch) | |
| tree | ea270520077417f0440c5369f924b1d424db33de /tools/perf/scripts/python | |
| parent | 023eba274911c17ef7a29c133f792af6b1e1e073 (diff) | |
| download | cachepc-linux-4596351d80b44842d3a57f54ba50511394fa7666.tar.gz cachepc-linux-4596351d80b44842d3a57f54ba50511394fa7666.zip | |
staging: rtl8192u: reduce stack frame size in ieee80211_rx_mgt_rsl
I ran into a stack frame size warning in code that hasn't changed much
recently, no idea why I didn't spot this earlier despite build many
thousand randconfigs.
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c: In function 'ieee80211_rx_mgt_rsl':
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:2563:1: error: the frame size of 1676 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
We have a couple of other copies of the same function in the kernel,
and they simply don't put a gigantic structure on the stack, so I'm
changing this copy to do the same as the others, replacing the
stack variable with a GFP_ATOMIC allocation.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
