Messages in this thread | | | Date | Fri, 11 Jan 2013 16:14:54 -0800 | From | Greg KH <> | Subject | Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy |
| |
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 the record, I'd like to take this through the > Tegra tree with all the other Tegra-related USB patches in order to > manage any dependencies, with the USB maintainers' Acks. Thanks.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |