[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50D4CC9F.6080000@wwwdotorg.org>
Date: Fri, 21 Dec 2012 13:54:55 -0700
From: Stephen Warren <swarren@...dotorg.org>
To: Venu Byravarasu <vbyravarasu@...dia.com>
CC: balbi@...com, gregkh@...uxfoundation.org, sshtylyov@...sta.com,
linux-kernel@...r.kernel.org, linux-usb@...r.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 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists