Re: [PATCH net-next] net: ethernet: mediatek: get out of potential invalid pointer access

2016-09-22 Thread David Miller
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

Re: [PATCH net-next] net: ethernet: mediatek: get out of potential invalid pointer access

2016-09-22 Thread David Miller
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 Applied.