提交 5eac5f6d 编写于 作者: J Julia Lawall 提交者: David S. Miller

drivers/atm/eni.c: ensure arguments to request_irq and free_irq are compatible

Convert calls to free_irq so that the second argument is the same as the
last argument of the corresponding call to request_irq.  Without this
property, free_irq does nothing.
Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e3abcc2a
......@@ -1873,7 +1873,7 @@ static int __devinit eni_start(struct atm_dev *dev)
kfree(eni_dev->free_list);
free_irq:
free_irq(eni_dev->irq, eni_dev);
free_irq(eni_dev->irq, dev);
out:
return error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册