Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 978ffac4 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

net: bcmgenet: Use correct dev_id for free_irq



bcmgenet_open()'s error path call free_irq() with a dev_id argument
different from the one we used to call request_irq() with, this will
make us trip over the warning in kernel/irq/manage.c:__free_irq()

Fixes: 1c1008c7 ("net: bcmgenet: add main driver file")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ac3ce82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2695,7 +2695,7 @@ static int bcmgenet_open(struct net_device *dev)
	return 0;

err_irq0:
	free_irq(priv->irq0, dev);
	free_irq(priv->irq0, priv);
err_fini_dma:
	bcmgenet_fini_dma(priv);
err_clk_disable: