Re: [U-Boot] [PATCH 1/2] net: tsec: Fix NULL access in case init_phy() fails

2015-01-30 Thread Joe Hershberger
On Tue, Dec 10, 2013 at 7:21 AM, Claudiu Manoil < claudiu.man...@freescale.com> wrote: > > If the PHY is not recognized don't access phydev (NULL) > and return 0 to signal failure. > > Signed-off-by: Claudiu Manoil > --- Applied, Thanks! -Joe ___ U-Boot

[U-Boot] [PATCH 1/2] net: tsec: Fix NULL access in case init_phy() fails

2013-12-10 Thread Claudiu Manoil
If the PHY is not recognized don't access phydev (NULL) and return 0 to signal failure. Signed-off-by: Claudiu Manoil --- drivers/net/tsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index e9138f0..65fb2b0 100644 --- a/drivers/net/tsec.c +++ b/