]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
b43: do not stack-allocate pio rx/tx header and tail buffers
authorAlbert Herranz <albert_herranz@yahoo.es>
Tue, 6 Oct 2009 22:07:44 +0000 (00:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:33:51 +0000 (16:33 -0400)
commit7e937c633f718e0916a294db7282c922c1bf3ce3
tree4da6f9ccb20ded658fa67a9893fe6a2255dac064
parentf5b4da21ba293220001b5fd36be75c859b18afc1
b43: do not stack-allocate pio rx/tx header and tail buffers

The DMA-API debugging facility complains about b43 mapping memory from
stack for SDIO-based cards.

Indeed, b43 currently allocates the PIO RX/TX header and tail buffers
from stack. The solution here is to use heap-allocated buffers instead.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/pio.c
drivers/net/wireless/b43/xmit.c