net: macb: add missed tasklet_kill
Subsystems (3)
PATCH 1/1 net: macb: add missed tasklet_kill
This driver forgets to kill tasklet in remove.
Add the call to fix it.
Signed-off-by Chuhong Yuan <[email protected]>
--- drivers/net/ethernet/cadence/macb_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/cadence/macb_main.c +1 -0
@@ -4383,6 +4383,7 @@ static int macb_remove(struct platform_device *pdev)if (dev) { bp =netdev_priv (dev); +tasklet_kill (&bp->hresp_err_tasklet);if (dev->phydev)phy_disconnect (dev->phydev);mdiobus_unregister (bp->mii_bus);
Signature · 1 line
2.24.0
Quoted 4 lines · Chuhong Yuan
This driver forgets to kill tasklet in remove.
Add the call to fix it.Signed-off-by Chuhong Yuan <[email protected]>
I think that you need to rebase it on latest net-next. Other than this:
Reviewed-by Claudiu Beznea <[email protected]>
Quoted 20 lines
--- drivers/net/ethernet/cadence/macb_main.c | 1 + 1 file changed, 1 insertion(+)drivers/net/ethernet/cadence/macb_main.c +1
-1@@ -4383,6 +4383,7 @@ static int macb_remove(struct platform_device *pdev)if (dev) { bp =netdev_priv (dev); +tasklet_kill (&bp->hresp_err_tasklet);if (dev->phydev)phy_disconnect (dev->phydev);mdiobus_unregister (bp->mii_bus); --2.24.0