staging: reduce stack usage in prism2fw.c
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 25 Jun 2012 04:35:29 +0000 (21:35 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:49 +0000 (13:34 +0000)
commita481b9a8b1e54d0ab7acc3ec6eb881bb8a18cdff
tree4cfdbbd7626765a65674f764c51d6d8641403c74
parentb765188ad9753664fc87b74a7ef262cb5bea94d2
staging: reduce stack usage in prism2fw.c

commit c90e3e80b9751335cc98934ae32188fa7de6bccd upstream.

Fix frame size (stack usage) warning by allocating and freeing
pointers to the data.

drivers/staging/wlan-ng/prism2fw.c:1115:1: warning: the frame size of 4288 bytes is larger than 2048 bytes

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/wlan-ng/prism2fw.c