Re: [U-Boot] [PATCH 3/6] driver: net: fsl-mc: fix error handing in init_phy

2018-07-25 Thread Joe Hershberger
On Fri, Jul 13, 2018 at 9:40 AM, Pankaj Bansal wrote: > if an error occurs during init_phy, we should free the phydev structure > which has been allocated by phy_connect. > > Signed-off-by: Pankaj Bansal > --- > drivers/net/ldpaa_eth/ldpaa_eth.c | 11 ++- > 1 file changed, 10 insertions(

[U-Boot] [PATCH 3/6] driver: net: fsl-mc: fix error handing in init_phy

2018-07-13 Thread Pankaj Bansal
if an error occurs during init_phy, we should free the phydev structure which has been allocated by phy_connect. Signed-off-by: Pankaj Bansal --- drivers/net/ldpaa_eth/ldpaa_eth.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b