Re: [PATCH 2/2] net: ethernet: davinci_emac: Fix platform_data overwrite

2016-04-21 Thread David Miller
From: Neil Armstrong Date: Wed, 20 Apr 2016 10:56:45 +0200 > When the DaVinci emac driver is removed and re-probed, the actual > pdev->dev.platform_data is populated with an unwanted valid pointer saved by > the previous davinci_emac_of_get_pdata() call, causing a kernel crash when > calling priv

[PATCH 2/2] net: ethernet: davinci_emac: Fix platform_data overwrite

2016-04-20 Thread Neil Armstrong
When the DaVinci emac driver is removed and re-probed, the actual pdev->dev.platform_data is populated with an unwanted valid pointer saved by the previous davinci_emac_of_get_pdata() call, causing a kernel crash when calling priv->int_disable() in emac_int_disable(). Unable to handle kernel pagin