From: Luciano Coelho Date: Thu, 15 Dec 2011 12:58:08 +0000 (+0200) Subject: wl12xx: alloc buffer in driver_state_read to prevent compilation warning X-Git-Tag: v3.3-rc1~182^2~178^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99f895a231b2dfeedd27e4d218a1b2d22cf4d02;p=pandora-kernel.git 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 --- Reading git-diff-tree failed