Commit 5eac5f6d authored by Julia Lawall's avatar Julia Lawall Committed by David S. Miller
Browse files

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e3abcc2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1873,7 +1873,7 @@ free_list:
	kfree(eni_dev->free_list);

free_irq:
	free_irq(eni_dev->irq, eni_dev);
	free_irq(eni_dev->irq, dev);

out:
	return error;