From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755936Ab3ALAoN (ORCPT ); Fri, 11 Jan 2013 19:44:13 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:56601 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755452Ab3ALAoL (ORCPT ); Fri, 11 Jan 2013 19:44:11 -0500 Message-ID: <50F0B1D7.6090809@wwwdotorg.org> Date: Fri, 11 Jan 2013 17:44:07 -0700 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Greg KH CC: Venu Byravarasu , balbi@ti.com, sshtylyov@mvista.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy References: <1356071656-10052-1-git-send-email-vbyravarasu@nvidia.com> <50D4CC9F.6080000@wwwdotorg.org> <20130112001454.GC21909@kroah.com> In-Reply-To: <20130112001454.GC21909@kroah.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >>> 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 Thanks, applied to Tegra's for-3.9/usb branch.