Re: [PATCH net] stmmac: fix setting of driver data in stmmac_dvr_probe

2015-07-21 Thread David Miller
From: Joachim Eastwood manab...@gmail.com Date: Fri, 17 Jul 2015 23:48:17 +0200 Commit 803f8fc46274b (stmmac: move driver data setting into stmmac_dvr_probe) mistakenly set priv and not priv-dev as driver data. This meant that the remove, resume and suspend callbacks that fetched and tried to

[PATCH net] stmmac: fix setting of driver data in stmmac_dvr_probe

2015-07-17 Thread Joachim Eastwood
Commit 803f8fc46274b (stmmac: move driver data setting into stmmac_dvr_probe) mistakenly set priv and not priv-dev as driver data. This meant that the remove, resume and suspend callbacks that fetched and tried to use this data would most likely explode. Fix the issue by using the correct