> > > I wonder why the invocations of kmalloc are needed in these functions. > > > > Because some architectures can't do DMA to/from the stack. > > doing dma to/from kmalloc also isn't too nice... should be using > dma_alloc_*() API I guess
The USB core applies dma_map_single to the buffer, so its OK. Ciao, Duncan. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
