Re: [PATCH net-next] net: ethernet: mediatek: get out of potential invalid pointer access
From:Date: Thu, 22 Sep 2016 16:44:16 +0800 > From: Sean Wang > > Potential dangerous invalid pointer might be accessed if > the error happens when couple phy_device to net_device so > cleanup the error path. > > Signed-off-by: Sean Wang
[PATCH net-next] net: ethernet: mediatek: get out of potential invalid pointer access
From: Sean WangPotential dangerous invalid pointer might be accessed if the error happens when couple phy_device to net_device so cleanup the error path. Signed-off-by: Sean Wang --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 6 -- 1