On Tue, Oct 06, 2009 at 10:52:15PM +0200, Michael Buesch wrote: > On Tuesday 06 October 2009 18:20:43 Albert Herranz wrote: > > The DMA-API debugging facility complains about b43 mapping memory from > > stack for SDIO-based cards, as can be seen in the following two > > stack traces. <snip> > > Indeed, b43 currently allocates the PIO RX and TX header buffers > > from stack. The solution here is to use heap-allocated buffers instead. > > > > Signed-off-by: Albert Herranz <albert_herranz@xxxxxxxx> <snip> > Just embed it into struct b43_wl (surround it by #ifdef CONFIG_B43_PIO). No need > to kzalloc then and it saves some memory. > You also need to alloc 4 bytes for the tail buffer (that currently is on the stack, too). Please make the changes Michael requested and resubmit -- I'll happily make the adjustments to wireless-testing, etc. John -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html