Re: [PATCH] phy: tegra: xusb: Fix dangling pointer on probe failure

2020-10-28 Thread Vinod Koul
On 13-10-20, 10:58, Marc Zyngier wrote: > If, for some reason, the xusb PHY fails to probe, it leaves > a dangling pointer attached to the platform device structure. > > This would normally be harmless, but the Tegra XHCI driver then > goes and extract that pointer from the PHY device. Things go

Re: [PATCH] phy: tegra: xusb: Fix dangling pointer on probe failure

2020-10-28 Thread Thierry Reding
On Tue, Oct 13, 2020 at 10:58:20AM +0100, Marc Zyngier wrote: > If, for some reason, the xusb PHY fails to probe, it leaves > a dangling pointer attached to the platform device structure. > > This would normally be harmless, but the Tegra XHCI driver then > goes and extract that pointer from the

[PATCH] phy: tegra: xusb: Fix dangling pointer on probe failure

2020-10-13 Thread Marc Zyngier
If, for some reason, the xusb PHY fails to probe, it leaves a dangling pointer attached to the platform device structure. This would normally be harmless, but the Tegra XHCI driver then goes and extract that pointer from the PHY device. Things go downhill from there: 8.752082]