summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-12-15 16:58:08 +0400
committerLuciano Coelho <coelho@ti.com>2011-12-15 18:11:29 +0400
commitc99f895a231b2dfeedd27e4d218a1b2d22cf4d02 (patch)
tree8e756b0ad439741eb6ef42965887d3fe91ab3524 /net/wireless/nl80211.c
parentef1870673dc3b66d8daec2b1fd1048992440e0e5 (diff)
downloadlinux-c99f895a231b2dfeedd27e4d218a1b2d22cf4d02.tar.xz
wl12xx: alloc buffer in driver_state_read to prevent compilation warning
When compiling wl12xx for x86, there was a warning complaining about the size of the buffer we were allocating in the stack: drivers/net/wireless/wl12xx/debugfs.c: In function 'driver_state_read': drivers/net/wireless/wl12xx/debugfs.c:380:1: warning: the frame size of 1040 bytes is larger than 1024 bytes To prevent this, allocate the buffer in the heap instead. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions