Re: [PATCH -next 24/26] usb: Use dma_zalloc_coherent

2014-06-16 Thread Joe Perches
On Mon, 2014-06-16 at 22:00 +, Paul Zimmerman wrote: > > From: Joe Perches [mailto:j...@perches.com] > > Sent: Sunday, June 15, 2014 1:38 PM > > > > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > > > Signed-off-by: Joe Perches > > --- > > drivers/usb/dwc2/hcd_ddma.

RE: [PATCH -next 24/26] usb: Use dma_zalloc_coherent

2014-06-16 Thread Paul Zimmerman
> From: Joe Perches [mailto:j...@perches.com] > Sent: Sunday, June 15, 2014 1:38 PM > > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > Signed-off-by: Joe Perches > --- > drivers/usb/dwc2/hcd_ddma.c | 20 +++- > drivers/usb/host/uhci-hcd.c | 7 +++ >

Re: [PATCH -next 24/26] usb: Use dma_zalloc_coherent

2014-06-15 Thread Joe Perches
On Sun, 2014-06-15 at 18:02 -0400, Alan Stern wrote: > On Sun, 15 Jun 2014, Joe Perches wrote: > > > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > > > Signed-off-by: Joe Perches > > ... > > > diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c > >

Re: [PATCH -next 24/26] usb: Use dma_zalloc_coherent

2014-06-15 Thread Alan Stern
On Sun, 15 Jun 2014, Joe Perches wrote: > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > Signed-off-by: Joe Perches ... > diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c > index 27f35e8..681fc5e 100644 > --- a/drivers/usb/host/uhci-hcd.c > +++ b

[PATCH -next 24/26] usb: Use dma_zalloc_coherent

2014-06-15 Thread Joe Perches
Use the zeroing function instead of dma_alloc_coherent & memset(,0,) Signed-off-by: Joe Perches --- drivers/usb/dwc2/hcd_ddma.c | 20 +++- drivers/usb/host/uhci-hcd.c | 7 +++ 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/drivers/usb/dwc2/hcd_ddma.c b/driv