Re: [PATCH] USB: EHCI: tegra: Fix oops in error cleanup

2013-06-14 Thread Alan Stern
On Fri, 14 Jun 2013, Thierry Reding wrote: > Under some circumstances it happens that the connected PHY can't be > powered up properly, in which case the cleanup path currently crashes > because it checks the tegra->transceiver field using !IS_ERR(), which > will succeed because it is in fact NULL

Re: [PATCH] USB: EHCI: tegra: Fix oops in error cleanup

2013-06-14 Thread Stephen Warren
On 06/14/2013 05:21 AM, Thierry Reding wrote: > Under some circumstances it happens that the connected PHY can't be > powered up properly, in which case the cleanup path currently crashes > because it checks the tegra->transceiver field using !IS_ERR(), which > will succeed because it is in fact NU

[PATCH] USB: EHCI: tegra: Fix oops in error cleanup

2013-06-14 Thread Thierry Reding
Under some circumstances it happens that the connected PHY can't be powered up properly, in which case the cleanup path currently crashes because it checks the tegra->transceiver field using !IS_ERR(), which will succeed because it is in fact NULL. Dereferencing that pointer causes an oops in tegra