Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2013-01-11 Thread Stephen Warren
On 01/11/2013 05:14 PM, Greg KH wrote: > On Fri, Dec 21, 2012 at 01:54:55PM -0700, Stephen Warren wrote: >> On 12/20/2012 11:34 PM, Venu Byravarasu wrote: >>> Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. >>> This ensures that all function pointers in member u_phy are >>> initial

Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2013-01-11 Thread Greg KH
On Fri, Dec 21, 2012 at 01:54:55PM -0700, Stephen Warren wrote: > On 12/20/2012 11:34 PM, Venu Byravarasu wrote: > > Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. > > This ensures that all function pointers in member u_phy are > > initialized to NULL. > > Seems fine to me. For t

RE: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2012-12-23 Thread Venu Byravarasu
.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy > > On 12/20/2012 11:34 PM, Venu Byravarasu wrote: > > Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. > > This ensures that all function pointers in m

Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2012-12-21 Thread Stephen Warren
On 12/20/2012 11:34 PM, Venu Byravarasu wrote: > Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy. > This ensures that all function pointers in member u_phy are > initialized to NULL. Seems fine to me. For the record, I'd like to take this through the Tegra tree with all the other T