# Re: \[PATCH 001/002\] linux-input: bcm5974-0.31: fixed resource leak, removed work struct, device data struct introduced

- From: David Brownell \<hidden\>
- Date: 2008-07-02 03:53:48 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2008/07/1119938
- Thread: https://ratatoskr.run/linux-input/2008/06/1118374/t.md

```text
On Tuesday 01 July 2008, Andrew Morton wrote:
> > > I dunno what USB driver normally use for their dma memory. __Perhaps
> > > dma_alloc_coherent()?
> > 
> > kmalloc() as a rule ...
> 
> kmalloc(GFP_DMA)?  Hopefully not...

Right.  Does anything except parport need that any more?
Precious little ISA stuff does DMA.

USB should never use GFP_DMA.




--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
