On Monday 04 May 2009, Haavard Skinnemoen wrote: > This ensures that all fields are properly initialized. > > Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx> Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> > --- > drivers/usb/gadget/atmel_usba_udc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c > index 563d572..93bf0e9 100644 > --- a/drivers/usb/gadget/atmel_usba_udc.c > +++ b/drivers/usb/gadget/atmel_usba_udc.c > @@ -1940,7 +1940,7 @@ static int __init usba_udc_probe(struct platform_device *pdev) > usba_writel(udc, CTRL, USBA_DISABLE_MASK); > clk_disable(pclk); > > - usba_ep = kmalloc(sizeof(struct usba_ep) * pdata->num_ep, > + usba_ep = kzalloc(sizeof(struct usba_ep) * pdata->num_ep, > GFP_KERNEL); > if (!usba_ep) > goto err_alloc_ep; > -- > 1.6.0.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html